CVE-2025-24813
Apache Tomcat Path Equivalence Vulnerability
Beskrivelse
Path Equivalence: 'file.Name' (Internal Dot) leading to Remote Code Execution and/or Information disclosure and/or malicious content added to uploaded files via write enabled Default Servlet in Apache Tomcat. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.2, from 10.1.0-M1 through 10.1.34, from 9.0.0.M1 through 9.0.98. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected. If all of the following were true, a malicious user was able to view security sensitive files and/or inject content into those files: - writes enabled for the default servlet (disabled by default) - support for partial PUT (enabled by default) - a target URL for security sensitive uploads that was a sub-directory of a target URL for public uploads - attacker knowledge of the names of security sensitive files being uploaded - the security sensitive files also being uploaded via partial PUT If all of the following were true, a malicious user was able to perform remote code execution: - writes enabled for the default servlet (disabled by default) - support for partial PUT (enabled by default) - application was using Tomcat's file based session persistence with the default storage location - application included a library that may be leveraged in a deserialization attack Users are recommended to upgrade to version 11.0.3, 10.1.35 or 9.0.99, which fixes the issue.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2025-03-10
- Sist endret
- 2026-06-17
- Tildelt av
- security@apache.org
- CVSS-vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scoret av
- nvd@nist.gov (NVD Primary)
- Sannsynlighet for utnyttelse
-
99.9 %
blant de aller høyeste av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ikke registrert hos kildene
Aktivt utnyttet
CISA førte denne sårbarheten inn i katalogen over kjente utnyttede sårbarheter 2025-04-01, med utbedringsfrist 2025-04-22 for amerikanske føderale etater.
Pålagt tiltak: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| Apache | Tomcat | < 9.0.99 | Berørt |
| Apache | Tomcat | 10.1.0 | Berørt |
| Apache | Tomcat | 11.0.0 | Berørt |
| Apache | Tomcat | ≥ 10.1.1, < 10.1.35 | Berørt |
| Apache | Tomcat | ≥ 11.0.1, < 11.0.3 | Berørt |
| Debian | Debian Linux | 11.0 | Berørt |
| Netapp | Bootstrap Os | alle oppførte versjoner | Berørt |
| Netapp | Hci Compute Node | alle oppførte versjoner | Ikke berørt |
| org.apache.tomcat | tomcat-catalina (Maven) | ≥ 10.1.0-M1, < 10.1.35 | Berørt |
| org.apache.tomcat | tomcat-catalina (Maven) | ≥ 11.0.0-M1, < 11.0.3 | Berørt |
| org.apache.tomcat | tomcat-catalina (Maven) | ≥ 8.5.0, ≤ 8.5.100 | Berørt |
| org.apache.tomcat | tomcat-catalina (Maven) | ≥ 9.0.0.M1, < 9.0.99 | Berørt |
| org.apache.tomcat.embed | tomcat-embed-core (Maven) | ≥ 10.1.0-M1, < 10.1.35 | Berørt |
| org.apache.tomcat.embed | tomcat-embed-core (Maven) | ≥ 11.0.0-M1, < 11.0.3 | Berørt |
| org.apache.tomcat.embed | tomcat-embed-core (Maven) | ≥ 8.5.0, ≤ 8.5.100 | Berørt |
| org.apache.tomcat.embed | tomcat-embed-core (Maven) | ≥ 9.0.0.M1, < 9.0.99 | Berørt |
Svakhetstype
-
CWE-706: Use of Incorrectly-Resolved Name or Reference
The product uses a name or reference to access a resource, but the name/reference resolves to a resource that is outside of the intended control sphere.
-
CWE-44: Path Equivalence: 'file.name' (Internal Dot)
The product accepts path input in the form of internal dot ('file.ordir') without appropriate validation, which can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locat…
-
CWE-502: Deserialization of Untrusted Data
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
Angrepsteknikker
Utledet gjennom svakhetstypen: CVE til CWE til CAPEC til ATT&CK. Dette viser hvilke teknikker svakhetsklassen historisk brukes til. Det er ikke en påstand om at nettopp denne sårbarheten er utnyttet slik.
- T1036: Masquerading
- T1574.008: Path Interception by Search Order Hijacking
Referanser
- https://lists.apache.org/thread/j5fkjv2k477os90nczf2v9l61fb0kkgq
- http://www.openwall.com/lists/oss-security/2025/03/10/5
- https://lists.debian.org/debian-lts-announce/2025/04/msg00003.html
- https://security.netapp.com/advisory/ntap-20250321-0001/
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-detect-apache-tomcat-rce
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-mitigate-apache-tomcat-rce
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-tomcat-detect-vulnerability
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-tomcat-mitigation-vulnerability
- https://github.com/absholi7ly/POC-CVE-2025-24813/blob/main/README.md
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-24813
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.