CVE-2007-5461: 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…
Noroxi assessment
Priority: Monitor (action score 26/100)
- Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 39.6% (FIRST EPSS); higher than 98.6% of all records.
- Fixed version: tomcat5 (Debian:4.0) 5.0.30-12etch1; tomcat5.5 (Debian:4.0) 5.5.20-2etch1; ant (Red Hat:certificate_system:7.3) 0:1.6.5-1jpp_1rh.
Low priority for now. Upgrade to tomcat5 (Debian:4.0) 5.0.30-12etch1; tomcat5.5 (Debian:4.0) 5.5.20-2etch1; ant (Red Hat:certificate_system:7.3) 0:1.6.5-1jpp_1rh or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Oct 15, 2007
- Updated
- Jun 16, 2026
- EPSS
- 39.6% · 98th percentile
- CWE
- CWE-22
Report tools
Action score
26
Low priority for now.
- CVSS
- 14 / 40 · 3.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 12 / 30 · 39.6%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| apache | tomcat | cpe:2.3:a:apache:tomcat |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache tomcat4.0.0
- apache tomcat4.0.1
- apache tomcat4.0.2
- apache tomcat4.0.3
- apache tomcat4.0.4
- apache tomcat4.0.5
- apache tomcat4.0.6
- apache tomcat4.1.0
+12 more rows
- apache tomcat4.1.1
- apache tomcat4.1.10
- apache tomcat4.1.11
- apache tomcat4.1.12
- apache tomcat4.1.13
- apache tomcat4.1.14
- apache tomcat4.1.15
- apache tomcat4.1.16
- apache tomcat4.1.17
- apache tomcat4.1.18
- apache tomcat4.1.19
- apache tomcat4.1.2
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:4.0 | tomcat5 | before 5.0.30-12etch1 | 5.0.30-12etch1 |
| Debian:4.0 | tomcat5.5 | before 5.5.20-2etch1 | 5.5.20-2etch1 |
| Maven | org.apache.tomcat:tomcat | from 4.0.0 · up to and including 4.0.6 | — |
| Maven | org.apache.tomcat:tomcat | from 4.1.0 · up to and including 4.1.0 | — |
| Maven | org.apache.tomcat:tomcat | from 5.0.0 · up to and including 5.0.0 | — |
| Maven | org.apache.tomcat:tomcat | from 5.5.0 · up to and including 5.5.25 | — |
| Maven | org.apache.tomcat:tomcat | from 6.0.0 · up to and including 6.0.14 | — |
| Red Hat:certificate_system:7.3 | ant | before 0:1.6.5-1jpp_1rh | 0:1.6.5-1jpp_1rh |
| Red Hat:certificate_system:7.3 | avalon-logkit | before 0:1.2-2jpp_4rh | 0:1.2-2jpp_4rh |
| Red Hat:certificate_system:7.3 | axis | before 0:1.2.1-1jpp_3rh | 0:1.2.1-1jpp_3rh |
| Red Hat:certificate_system:7.3 | classpathx-jaf | before 0:1.0-2jpp_6rh | 0:1.0-2jpp_6rh |
| Red Hat:certificate_system:7.3 | classpathx-mail | before 0:1.1.1-2jpp_8rh | 0:1.1.1-2jpp_8rh |
| Red Hat:certificate_system:7.3 | geronimo-ejb-2.1-api | before 0:1.0-0.M4.1jpp_10rh | 0:1.0-0.M4.1jpp_10rh |
| Red Hat:certificate_system:7.3 | geronimo-j2ee-1.4-apis | before 0:1.0-0.M4.1jpp_10rh | 0:1.0-0.M4.1jpp_10rh |
| Red Hat:certificate_system:7.3 | geronimo-j2ee-connector-1.5-api | before 0:1.0-0.M4.1jpp_10rh | 0:1.0-0.M4.1jpp_10rh |
| Red Hat:certificate_system:7.3 | geronimo-j2ee-deployment-1.1-api | before 0:1.0-0.M4.1jpp_10rh | 0:1.0-0.M4.1jpp_10rh |
| Red Hat:certificate_system:7.3 | geronimo-j2ee-management-1.0-api | before 0:1.0-0.M4.1jpp_10rh | 0:1.0-0.M4.1jpp_10rh |
| Red Hat:certificate_system:7.3 | geronimo-jms-1.1-api | before 0:1.0-0.M4.1jpp_10rh | 0:1.0-0.M4.1jpp_10rh |
| Red Hat:certificate_system:7.3 | geronimo-jsp-2.0-api | before 0:1.0-0.M4.1jpp_10rh | 0:1.0-0.M4.1jpp_10rh |
| Red Hat:certificate_system:7.3 | geronimo-jta-1.0.1B-api | before 0:1.0-0.M4.1jpp_10rh | 0:1.0-0.M4.1jpp_10rh |
| Red Hat:certificate_system:7.3 | geronimo-servlet-2.4-api | before 0:1.0-0.M4.1jpp_10rh | 0:1.0-0.M4.1jpp_10rh |
| Red Hat:certificate_system:7.3 | geronimo-specs | before 0:1.0-0.M4.1jpp_10rh | 0:1.0-0.M4.1jpp_10rh |
| Red Hat:certificate_system:7.3 | geronimo-specs-javadoc | before 0:1.0-0.M4.1jpp_10rh | 0:1.0-0.M4.1jpp_10rh |
| Red Hat:certificate_system:7.3 | jakarta-commons-modeler | before 0:2.0-3jpp_2rh | 0:2.0-3jpp_2rh |
+96
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-24813Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUTKEV99Now
- CVE-2016-8735Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8.5.7, and 9.x…KEV96Now
- CVE-2017-12617When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g.KEV92Now
Published before and after this one in the same product
- ← EarlierCVE-2007-3386Aug 14, 2007 · Cross-site scripting (XSS) vulnerability in the Host Manager Servlet for Apache Tomcat 6.0.0 to 6.0.13 and 5.5.0 to 5.5.24 allows remote…35Monitor
- ← EarlierCVE-2007-4724Sep 5, 2007 · Cross-site request forgery (CSRF) vulnerability in cal2.jsp in the calendar examples application in Apache Tomcat 4.1.31 allows remote…18Monitor
- Later →CVE-2007-5342Dec 27, 2007 · The default catalina.policy in the JULI logging component in Apache Tomcat 5.5.9 through 5.5.25 and 6.0.0 through 6.0.15 does not restrict…27Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:tomcat5 | 5.0.30-12etch1 · Debian:4.0 | Package registry (OSV) |
| debian:tomcat5.5 | 5.5.20-2etch1 · Debian:4.0 | Package registry (OSV) |
| red hat:tomcat5 | 0:5.5.23-0jpp.3.0.3.el5_1 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:tomcat5-admin-webapps | 0:5.5.23-0jpp.3.0.3.el5_1 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:tomcat5-common-lib | 0:5.5.23-0jpp.3.0.3.el5_1 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:tomcat5-debuginfo | 0:5.5.23-0jpp.3.0.3.el5_1 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:tomcat5-jasper | 0:5.5.23-0jpp.3.0.3.el5_1 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:tomcat5-jasper-javadoc | 0:5.5.23-0jpp.3.0.3.el5_1 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:tomcat5-jsp-2.0-api | 0:5.5.23-0jpp.3.0.3.el5_1 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:tomcat5-jsp-2.0-api-javadoc | 0:5.5.23-0jpp.3.0.3.el5_1 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:tomcat5-server-lib | 0:5.5.23-0jpp.3.0.3.el5_1 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:tomcat5-servlet-2.4-api | 0:5.5.23-0jpp.3.0.3.el5_1 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:tomcat5-servlet-2.4-api-javadoc | 0:5.5.23-0jpp.3.0.3.el5_1 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:tomcat5-webapps | 0:5.5.23-0jpp.3.0.3.el5_1 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×2
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | remote | 2007-10-21 |
| Exploit-DB entry | remote | 2007-10-14 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoC-2 d
- Published
- TodayNov 16, 2026+6972 d
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
If successful
- Confidentiality
- P · data can be read
- Integrity
- none
- Availability
- none
- Attack complexity
- M
- Confidentiality impact
- P
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vector
AV:N/AC:M/Au:S/C:P/I:N/A:N
nvd-primary
Root cause
A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.
The bug in code
The whole CWE-22 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const file = path.join(ROOT, req.query.name);
res.sendFile(file);Fixed
const file = path.resolve(ROOT, req.query.name);
if (!file.startsWith(ROOT + path.sep)) {
return res.sendStatus(400);
}
res.sendFile(file);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Path TraversalCAPEC-126likelihood: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78likelihood: High · High
- Using Slashes in Alternate EncodingCAPEC-79likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- issues.apache.org/jira/browse/GERONIMO-3549
- lists.apple.com/archives/security-announce/2008//Jun/msg00002.html
- lists.apple.com/archives/security-announce/2008/Oct/msg00001.html
- lists.opensuse.org/opensuse-security-announce/2008-03/msg00001.html
- lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html
- mail-archives.apache.org/mod_mbox/tomcat-users/200710.mbox/%3C47135C2D.1000705%40apache.org%3E
- marc.info/?l=bugtraq&m=139344343412337&w=2
- rhn.redhat.com/errata/RHSA-2008-0630.html
- secunia.com/advisories/27398
- secunia.com/advisories/27446
- secunia.com/advisories/27481
- secunia.com/advisories/27727
- secunia.com/advisories/28317
- secunia.com/advisories/28361
- secunia.com/advisories/29242
- secunia.com/advisories/29313
- secunia.com/advisories/29711
- secunia.com/advisories/30676
- secunia.com/advisories/30802
Vendor advisories and official records. Exploit/PoC links are deliberately left out.