CVE-2007-0450
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedDirectory 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceDirectory traversal vulnerability allows remote attackers to read arbitrary files via '..' sequences using combinations of /, \, and %5C (URL-encoded backslash) when Apache acts as a reverse proxy to Tomcat. The mismatch in path separator interpretation between Apache and Tomcat enables attackers to bypass Apache's path validation and access files on the Tomcat server.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE dataall versions>= 5.0.0, < 5.5.22>= 6.0.0, < 6.0.10CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
AV:N/AC:L/Au:N/C:P/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Confirm Apache is configured as a reverse proxy to TomcatReview Apache configuration files (httpd.conf, include files) for ProxyPass and ProxyPassReverse directives pointing to a Tomcat backend, or check for mod_jk/mod_proxy_ajp configuration.Affected if Apache is NOT configured as a reverse proxy to Tomcat - this is a required condition for the vulnerability to be exploitable.
-
Determine the installed Tomcat versionCheck the Tomcat version by inspecting the server info: look for RELEASE-NOTES, VERSION, or bootstrap jar files in the Tomcat installation directory, or query the server via HTTP headers if accessible.Affected if Tomcat version is 5.0.0 through 5.5.21, or 6.0.0 through 6.0.9.
-
Examine the proxy configuration for path handlingReview Apache proxy directives (ProxyPass, ProxyPassMatch, RewriteRule with [P] flag) that forward requests to Tomcat. Look for any rules that pass the request URI without strict validation of backslash variants (%5C) or double-dot sequences.Affected if Proxy configuration passes the raw request path to Tomcat without filtering backslash (%5C) or mixed separator combinations.
-
Verify if input validation exists for path traversalCheck Apache configuration for RewriteCond or other validation rules that explicitly reject paths containing .., \, or %5C before forwarding to Tomcat.Affected if No input validation rules are present to reject backslash variants in the proxied path.
You are affected if Apache is acting as a reverse proxy to Tomcat AND the Tomcat version falls within 5.0.0-5.5.21 or 6.0.0-6.0.9 AND the proxy configuration lacks input validation to block backslash (%5C) characters in the request path.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor data5.5.226.0.10
Upgrade to Apache Tomcat 5.5.22+ or 6.0.10+ and ensure Apache is also updated. Additionally, implement strict input validation on the proxy configuration to reject paths containing backslash variants.
- Consultation3.0 h
- Implementation6.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2007-0450 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sources- tomcat.apache.org
- tomcat.apache.org
- tomcat.apache.org
- docs.info.apple.com
- lists.apple.com
- lists.vmware.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- security.gentoo.org
- securityreason.com
- support.avaya.com
- support.ca.com
- www.fujitsu.com
- www.mandriva.com
- www.redhat.com
- www.redhat.com
- www.redhat.com
- www.securityfocus.com
- www.securityfocus.com
- www.securityfocus.com
- www.securityfocus.com
- www.securityfocus.com
- www.securityfocus.com
- www.vupen.com
- www.vupen.com
- www.vupen.com
- www.vupen.com
- www.vupen.com
- www.vupen.com
- www.vupen.com
- exchange.xforce.ibmcloud.com
- oval.cisecurity.org
- community.ca.com
- h20000.www2.hp.com
- sunsolve.sun.com
- www.novell.com
- www.novell.com
- www.sec-consult.com
- www.sec-consult.com
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2007-0450 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data