CVE-2007-5461: Apache Tomcat Path Traversal Vulnerability
3.5
CVSS Score
Basic Information
CVE ID
GHSA ID
EPSS Score
0.91111%
CWE
Published
5/1/2022
Updated
1/8/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
AV:N/AC:M/Au:S/C:P/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.tomcat:tomcat | maven | >= 4.0.0, <= 4.0.6 | |
org.apache.tomcat:tomcat | maven | = 4.1.0 | |
org.apache.tomcat:tomcat | maven | = 5.0.0 | |
org.apache.tomcat:tomcat | maven | >= 5.5.0, <= 5.5.25 | |
org.apache.tomcat:tomcat | maven | >= 6.0.0, <= 6.0.14 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper XML parsing in WebDAV requests. The commit 1e7b31e fixes CVE-2007-5461 by adding documentBuilderFactory.setExpandEntityReferences(false)
in WebdavServlet.java
. This indicates the original vulnerability was caused by processing external entity references in XML parsing, which could be exploited via SYSTEM entities to access local files. The getDocumentBuilder()
function was vulnerable because it didn't disable this dangerous feature initially.