Apache Tomcat - RCE (CVE-2025-24813)
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.
psychologyCrowdSec Analysis
CVE-2025-24813 is a critical vulnerability involving path equivalence that can allow remote code execution, information disclosure, or the addition of malicious content through improperly handled writable file paths.
CrowdSec has been tracking this vulnerability and its exploits since 17th of March 2025.
CrowdSec has not observed any significant exploitation activity targeting CVE-2025-24813 across its network. As a result, no community-driven trend analysis is available for this vulnerability at this time.
Detected exploitation attempts are characterized by requests to URLs such as /check.txt or paths under /uploads/../sessions/ ending in .session.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2025-03-10 |
| Rule Released | 2025-03-17 |
| CrowdSec First Seen | 2025-03-19 |
| CISA KEV | 2025-04-01 |
| CISA Remediation Deadline | 2025-04-22 |
Related Weaknesses
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 locations or access arbitrary files.
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
Remediation & Protection
External References
- https://lists.apache.org/thread/j5fkjv2k477os90nczf2v9l61fb0kkgq
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-24813.yaml
- https://lists.debian.org/debian-lts-announce/2025/04/msg00003.html
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-mitigate-apache-tomcat-rce
- https://github.com/absholi7ly/POC-CVE-2025-24813/blob/main/README.md
- https://www.vicarius.io/vsociety/posts/cve-2025-24813-detect-apache-tomcat-rce
- https://security.netapp.com/advisory/ntap-20250321-0001/