Apache Tomcat path equivalence via partial PUT requests
CVE-2025-24813Known exploitedCritical
Apache Tomcat contains a flaw in how it handles file paths when the default servlet has write permissions enabled and partial PUT requests are supported. An attacker who knows the names of security-sensitive files can upload malicious content to them or read them if they are stored in a subdirectory of a publicly writable location. If the application uses file-based session persistence, an attacker could achieve remote code execution by uploading a malicious serialised object.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 1 Apr 2025
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Detail
Apache Tomcat. CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Weakness: CWE-44 (opens in a new tab), CWE-502 (opens in a new tab), CWE-706 (opens in a new tab)
Affected versions
- apache tomcat: before 9.0.99
- apache tomcat: from 10.1.1, before 10.1.35
- apache tomcat: from 11.0.1, before 11.0.3
- apache tomcat: 10.1.0
- apache tomcat: 11.0.0
- debian debian linux: 11.0
- netapp bootstrap os: All versions listed