CVE-2008-6505 apache struts: Path traversal
apache struts: no CVSS score yet. EPSS 73% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.struts:struts2-core 2.0.12, 2.1.3.
On this page
Multiple directory traversal vulnerabilities in Apache Struts 2.0.x before 2.0.12 and 2.1.x before 2.1.3 allow remote attackers to read arbitrary files via a ..%252f (encoded dot dot slash) in a URI with a /struts/ path, related to (1) FilterDispatcher in 2.0.x and (2) DefaultStaticContentLoader in 2.1.x.
- EPSS
- 73% (unchanged from 73% a week ago; 73% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
- OWASP Top 10
- A01:2025 Broken Access Control
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
org.apache.struts:struts2-core(Maven): fixed in 2.0.12, 2.1.3- Vendor advisory: http://secunia.com/advisories/32497
- Vendor advisory: http://struts.apache.org/2.x/docs/s2-004.html
- Vendor advisory: http://www.securityfocus.com/bid/32104
Ask an AI about this CVE
Show the prompt
Explain CVE-2008-6505 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2008-6505?via=ask-ai-copy and https://cve.bz/cve/CVE-2008-6505?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2008-6505 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| apache:struts | 2.0.6 |
| apache:struts | 2.0.8 |
| apache:struts | 2.0.9 |
| apache:struts | 2.0.11 |
| apache:struts | 2.0.11.1 |
| apache:struts | 2.0.11.2 |
| apache:struts | 2.1.2_beta |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-wv7g-xhvw-8hcp | Maven | org.apache.struts:struts2-core | >=2.0.0 <2.0.12 | 2.0.12 |
| GHSA-wv7g-xhvw-8hcp | Maven | org.apache.struts:struts2-core | >=2.1.0 <2.1.3 | 2.1.3 |
Public exploits
Attack patterns (CAPEC)
- CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
- CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
- CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
- CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
- CAPEC-126 Path Traversal Likelihood: High · Severity: Very High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.