CVE-2007-5461 Apache Tomcat Path Traversal Vulnerability
Authenticated attackers can read arbitrary files via WebDAV requests in Apache Tomcat under specific configurations.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2007-5461?
CVE-2007-5461 is a low-severity path traversal vulnerability in Apache Tomcat, published on 15 Oct 2007. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2007-5461?
8 open source packages ship an affected version, including org.apache.tomcat:tomcat. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.tomcat:tomcat Maven | All versions | None |
org.apache.tomcat:tomcat Maven | All versions | None |
org.apache.tomcat:tomcat Maven | From 4.0.0 to 4.0.6 | None |
org.apache.tomcat:tomcat Maven | From 4.0.0 to 4.0.6 | None |
org.apache.tomcat:tomcat Maven | From 5.5.0 to 5.5.25 | None |
org.apache.tomcat:tomcat Maven | From 5.5.0 to 5.5.25 | None |
2 more packages
org.apache.tomcat:tomcat Maven | From 6.0.0 to 6.0.14 | None |
org.apache.tomcat:tomcat Maven | From 6.0.0 to 6.0.14 | None |
Products include Apache Tomcat.
How do I fix CVE-2007-5461?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2007-5461 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-5461 exists.
Public exploit code: 2 Exploit-DB entries.
Other vulnerabilities in Apache Tomcat
Sources
Also known as GHSA-v5p2-vg3c-pmrr.