U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2025-24813 Detail

Description

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. 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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 3.x Severity and Vector Strings:

NIST CVSS score
NIST: NVD
Base Score:  9.8 CRITICAL
Vector:  CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

ADP:  CISA-ADP
Base Score:  9.8 CRITICAL
Vector:  CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://www.openwall.com/lists/oss-security/2025/03/10/5 Mailing List  Third Party Advisory 
https://github.com/absholi7ly/POC-CVE-2025-24813/blob/main/README.md Exploit 
https://lists.apache.org/thread/j5fkjv2k477os90nczf2v9l61fb0kkgq Vendor Advisory 
https://lists.debian.org/debian-lts-announce/2025/04/msg00003.html Mailing List  Third Party Advisory 
https://security.netapp.com/advisory/ntap-20250321-0001/ Third Party Advisory 
https://www.vicarius.io/vsociety/posts/cve-2025-24813-detect-apache-tomcat-rce Issue Tracking 
https://www.vicarius.io/vsociety/posts/cve-2025-24813-mitigate-apache-tomcat-rce Issue Tracking 

This CVE is in CISA's Known Exploited Vulnerabilities Catalog

Reference CISA's BOD 22-01 and Known Exploited Vulnerabilities Catalog for further guidance and requirements.

Vulnerability Name Date Added Due Date Required Action
Apache Tomcat Path Equivalence Vulnerability 04/01/2025 04/22/2025 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 Enumeration

CWE-ID CWE Name Source
CWE-706 Use of Incorrectly-Resolved Name or Reference cwe source acceptance level NIST  
CWE-502 Deserialization of Untrusted Data cwe source acceptance level NIST   Apache Software Foundation  
CWE-44 Path Equivalence: 'file.name' (Internal Dot) Apache Software Foundation  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:apache:tomcat:9.0.0:milestone1:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone10:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone11:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone12:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone13:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone14:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone15:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone16:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone17:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone18:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone19:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone2:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone20:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone21:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone22:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone23:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone24:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone25:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone26:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone27:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone3:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone4:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone5:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone6:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone7:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone8:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:9.0.0:milestone9:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
   Show Matching CPE(s)
From (including)
9.0.1
Up to (excluding)
9.0.99
 cpe:2.3:a:apache:tomcat:10.1.0:milestone1:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone10:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone11:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone12:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone13:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone14:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone15:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone16:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone17:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone18:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone19:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone2:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone20:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone3:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone4:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone5:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone6:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone7:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone8:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:10.1.0:milestone9:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
   Show Matching CPE(s)
From (including)
10.1.1
Up to (excluding)
10.1.35
 cpe:2.3:a:apache:tomcat:11.0.0:milestone1:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone10:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone11:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone12:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone13:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone14:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone15:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone16:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone17:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone18:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone19:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone2:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone20:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone21:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone22:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone23:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone24:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone25:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone3:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone4:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone5:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone6:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone7:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone8:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:11.0.0:milestone9:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
   Show Matching CPE(s)
From (including)
11.0.1
Up to (excluding)
11.0.3

Configuration 2 ( hide )
 cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
   Show Matching CPE(s)

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

12 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2025-24813
NVD Published Date:
03/10/2025
NVD Last Modified:
04/03/2025
Source:
Apache Software Foundation