CVE-2007-5461 — tomcat
Fix: apache/tomcat@1e7b31eCVE-2007-5461 is a Path Traversal vulnerability in org.apache.tomcat:tomcat. 3 public exploit or proof-of-concept references are indexed, so weaponization risk is real. The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.
Apache Tomcat Path Traversal Vulnerability
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.apache.tomcat:tomcat☕org.apache.tomcat:tomcat☕org.apache.tomcat:tomcat☕org.apache.tomcat:tomcat☕org.apache.tomcat:tomcatReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Absolute path traversal vulnerability in Apache Tomcat 4.0.0 through 4.0.6, 4.1.0, 5.0.0, 5.5.0 through 5.5.25, and 6.0.0 through 6.0.14, under certain configurations, allows remote authenticated users to read arbitrary files via a WebDAV write request that specifies an entity with a SYSTEM tag.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.tomcat:tomcat | ≥ 4.0.0 | No fix |
| ☕Maven | org.apache.tomcat:tomcat | all versions | No fix |
| ☕Maven | org.apache.tomcat:tomcat | all versions | No fix |
| ☕Maven | org.apache.tomcat:tomcat | ≥ 5.5.0 | No fix |
| ☕Maven | org.apache.tomcat:tomcat | ≥ 6.0.0 | No fix |
Affected Products
tomcatapacheResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Apache Tomcat - WebDAV SSL Remote File Disclosure
by h3rcul3s · Oct 21, 2007
Apache Tomcat - 'WebDAV' Remote File Disclosure
by eliteboy · Oct 14, 2007
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.tomcat:tomcat, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Remediation status
The records we use list no patched version of org.apache.tomcat:tomcat for CVE-2007-5461. Check the maintainer's advisory, and where your build allows, override or pin the dependency away from the vulnerable range.
Mitigate without a patch
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| JBEAP 4.2.0 for RHEL 4 | glassfish-javamail-0:1.4.0-0jpp.ep1.8 | RHSA-2008:0151 |
| JBEAP 4.2.0 for RHEL 5 | hibernate3-0:3.2.4-1.SP1_CP02.0jpp.ep1.1.el5.1 | RHSA-2008:0213 |
| Red Hat Certificate System 7.3 | ant-0:1.6.5-1jpp_1rh | RHSA-2010:0602 |
| Red Hat Developer Suite V.3 | tomcat5-0:5.5.23-0jpp_11rh | RHSA-2008:0195 |
| Red Hat Enterprise Linux 5 | tomcat5-0:5.5.23-0jpp.3.0.3.el5_1 | RHSA-2008:0042 |
| Red Hat Network Satellite Server v 4.2 | jabberd-0:2.0s10-3.38.rhn | RHSA-2008:0524 |
| Red Hat Network Satellite Server v 5.0 | jabberd-0:2.0s10-3.38.rhn | RHSA-2008:0261 |
| Red Hat Network Satellite Server v 5.1 | jfreechart-0:0.9.20-3.rhn | RHSA-2008:0630 |
Frequently Asked Questions
Is CVE-2007-5461 in your dependencies?
Find it across Maven, including transitive dependencies.