Every CVE Search/ Get API key

CVE-2008-6505

Apache Struts directory traversal vulnerability

5.0 MediumPublic exploitFix available

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.

Exploit likelihood

72.7%Up 47.0 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.0

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.

Record
CVE-2008-6505
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-22
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2008-6505
Updated
2026-11-02
EUVDEUVD-2022-5640 No score

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.

Record
EUVD-2022-5640
Updated
2026-11-03
GitHub AdvisoriesGHSA-wv7g-xhvw-8hcp No score

Apache Struts directory traversal vulnerability

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.

Record
GHSA-wv7g-xhvw-8hcp
Weakness
CWE-22
Updated
2026-11-02
OSVGHSA-wv7g-xhvw-8hcp No score

Apache Struts directory traversal vulnerability

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.

Record
GHSA-wv7g-xhvw-8hcp
Weakness
CWE-22
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.struts:struts2-core
Maven
2.0.0 up to 2.0.12
2.0.12
org.apache.struts:struts2-core
Maven
2.1.0 up to 2.1.3
2.1.3
org.apache.struts:struts2-core
Maven
2.0.0 up to 2.0.12, plus listed versions
2.0.112.0.11.12.0.11.22.0.52.0.62.0.82.0.9
2.0.12
org.apache.struts:struts2-core
Maven
2.1.0 up to 2.1.3, plus listed versions
2.1.2
2.1.3

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBStruts 2.0.11 - Multiple Directory Traversal Vulnerabilities2008-11-04

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2008-6505 is a medium vulnerability (CVSS 5.0) in Apache Struts, published March 23, 2009. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 72.7%, the 99th percentile. Fixed in org.apache.struts:struts2-core 2.0.12.

References

Show 8 moreShow less
MoveEnter Open