Red Hat VEX
RHVEX-CVE-2025-24813
tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT
Details
A flaw was found in Apache Tomcat. In certain conditions and configurations, this vulnerability allows a remote attacker to exploit a path equivalence flaw to view file system contents and add malicious content via a write-enabled Default Servlet in Apache Tomcat.
For the vulnerability to be exploited, the following conditions must be true: writes to the default servlet are enabled (disabled by default), sensitive file uploads are sub-directories of a target URL for public uploads, attackers know the names of the files, and those files are subject to partial PUT uploads enabled by default. If an application uses file-based session persistence with default storage and includes exploitable libraries, remote code execution (RCE) is possible.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | tomcat6 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-admin-webapps | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-docs-webapp | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-el-2.1-api | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-javadoc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-jsp-2.1-api | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-lib | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-log4j | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-servlet-2.5-api | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tomcat6-webapps | All versions, no fix (out of support scope) |
References
- https://access.redhat.com/security/cve/CVE-2025-24813
- https://bugzilla.redhat.com/show_bug.cgi?id=2351129
- https://www.cve.org/CVERecord?id=CVE-2025-24813
- https://nvd.nist.gov/vuln/detail/CVE-2025-24813
- https://lists.apache.org/thread/j5fkjv2k477os90nczf2v9l61fb0kkgq
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog