ZeroHour

CVE-2025-55752

PoC mass

Relative Path Traversal in Apache Tomcat Bypasses Security Constraints (RCE Risk)

CVSS 3.1
7.5 high
EPSS
67%p99
Published
()
Modified
AI analysis

CVE-2025-55752 is a relative path traversal (CWE-23) in Apache Tomcat caused by a regression in the fix for bug 60013, in which rewritten URLs were normalized before they were decoded. The flaw is triggered when rewrite rules rewrite query parameters into the URL, allowing an attacker to manipulate the request URI in a way that defeats URL normalization. As a result, an attacker can bypass security constraints, including the built-in protections for the /WEB-INF/ and /META-INF/ paths, and if PUT requests are also enabled, uploaded malicious files can lead to remote code execution (the vendor notes PUT is normally restricted to trusted users, making the RCE path unlikely in practice). Affected deployments are Tomcat 11.0.0-M1 through 11.0.10, 10.1.0-M1 through 10.1.44, 9.0.0.M11 through 9.0.108, and the EOL 8.5.6 through 8.5.100 (older EOL versions may also be affected). The issue is not yet in CISA KEV, but a public PoC/detection writeup exists and EPSS assigns a ~67% probability of exploitation within 30 days, so patching is urgent.

What to do: Upgrade to Tomcat 11.0.11 or later, 10.1.45 or later, or 9.0.109 or later; 8.5 users should move to a supported version line since 8.5 is EOL. Review rewrite configurations for rules that rewrite query parameters to the URL, and confirm PUT is disabled or limited to trusted users. Until patched, verify that /WEB-INF/ and /META-INF/ protections remain effective and monitor for exploitation given the elevated EPSS score.

Affected
Apache Tomcat 1111.0.0-M1 through 11.0.10
Apache Tomcat 10.110.1.0-M1 through 10.1.44
Apache Tomcat 99.0.0.M11 through 9.0.108
Apache Tomcat 8.5 (EOL)8.5.6 through 8.5.100; other, older EOL versions may also be affected
Estimated exposure
massroughly 500,000+ internet-exposed Tomcat instances per public scan data, with only the subset using rewrite rules that map query parameters to the URL actually… — Public internet scans (e.g., Shodan/Censys) routinely show hundreds of thousands of Apache Tomcat servers exposed, but exploitability is narrowed by the requirement for rewrite rules that rewrite query parameters to the URL (and, for RCE,…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Relative Path Traversal vulnerability in Apache Tomcat. The fix for bug 60013 introduced a regression where the rewritten URL was normalized before it was decoded. This introduced the possibility that, for rewrite rules that rewrite query parameters to the URL, an attacker could manipulate the request URI to bypass security constraints including the protection for /WEB-INF/ and /META-INF/. If PUT requests were also enabled then malicious files could be uploaded leading to remote code execution. PUT requests are normally limited to trusted users and it is considered unlikely that PUT requests would be enabled in conjunction with a rewrite that manipulated the URI. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.10, from 10.1.0-M1 through 10.1.44, from 9.0.0.M11 through 9.0.108. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.6 though 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.11 or later, 10.1.45 or later or 9.0.109 or later, which fix the issue.

Vendors
apache
Products
tomcat
Weakness
CWE-23
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news