Vulnerability record · CVE-2007-0450 · published 16 March 2007
CVE-2007-0450: Apache HTTP Server and Tomcat proxy directory traversal
Apache · Http Server
Apache HTTP Server and Tomcat 5.x before 5.5.22 and 6.x before 6.0.10 mishandle path separators when proxy modules (mod_proxy, mod_rewrite, mod_jk) are in use. Tomcat treats slash, backslash and URL-encoded backslash as valid separators while Apache does not, so a crafted .. sequence can escape the intended path. This lets a remote unauthenticated attacker read files outside the web root on affected deployments.
Description
Directory traversal vulnerability in Apache HTTP Server and Tomcat 5.x before 5.5.22 and 6.x before 6.0.10, when using certain proxy modules (mod_proxy, mod_rewrite, mod_jk), allows remote attackers to read arbitrary files via a .. (dot dot) sequence with combinations of (1) "/" (slash), (2) "\" (backslash), and (3) URL-encoded backslash (%5C) characters in the URL, which are valid separators in Tomcat but not in Apache.
AV:N/AC:L/Au:N/C:P/I:N/A:N
Automated analysis
high priorityUnauthenticated remote file read with a very high EPSS score, though the CVSS v2 base is only 5.0 and no KEV listing exists.
What it is
Apache HTTP Server and Tomcat 5.x before 5.5.22 and 6.x before 6.0.10 mishandle path separators when proxy modules (mod_proxy, mod_rewrite, mod_jk) are in use. Tomcat treats slash, backslash and URL-encoded backslash as valid separators while Apache does not, so a crafted .. sequence can escape the intended path. This lets a remote unauthenticated attacker read files outside the web root on affected deployments.
Impact
An attacker can read arbitrary files reachable by the server process, exposing configuration, credentials or source code. There is no integrity or availability impact per the CVSS vector.
Attack surface
Reachable over the network via HTTP requests to a server using the affected proxy modules; no authentication or user interaction is required (AV:N/AC:L/Au:N). Exploitation depends on the proxy configuration being present.
Exploitation
Not listed in CISA KEV and no ransomware usage is documented. EPSS is very high (0.90768, 99.8th percentile), indicating strong predicted likelihood, but the references carry only advisory and vendor tags, so no confirmed in-the-wild exploitation is stated.
What to do
- Upgrade Tomcat to 5.5.22 or 6.0.10 or later, and apply the corresponding Apache HTTP Server fix.
- If patching is delayed, disable or restrict mod_proxy, mod_rewrite and mod_jk where they are not required.
- Normalize and reject requests containing backslash or encoded backslash (%5C) and .. sequences at the proxy layer.
- Run the web/proxy service with least privilege and restrict filesystem access to only needed paths.
- Review proxy and rewrite rules for unsafe path forwarding to Tomcat.
Detection
- Search web and proxy logs for URLs containing .. combined with backslash or %5C.
- Alert on requests to proxy endpoints that resolve outside the expected document root.
- Monitor for anomalous reads of sensitive files (configuration, credential stores) by the web server process.
- Baseline normal proxy request patterns and flag deviations in separator encoding.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2007-0450 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2007-0450), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.