WaratekVRT Sign in

CVE-2008-6505 Apache Struts

Affected softwareApache Struts
Severity5.0 Medium CVSS 2.0
Fixed in2.0.12, 2.1.3
WeaknessPath traversal (CWE-22)
Published23 Mar 2009
Updated16 Jun 2026

Description

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.

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed Published artifacts you can open, in Exploit-DB; first seen 2008-11-04.
  • EPSS 73% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.
IndexArtifactStarsFirst seen
Exploit-DB Struts 2.0.11 - Multiple Directory Traversal Vulnerabilities 2008-11-04

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.

How to mitigate CVE-2008-6505

Upgrade Apache Struts to a release that fixes it: 2.0.12 or 2.1.3. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.struts:struts2-core 2.0.0 2.0.12 unbounded
org.apache.struts:struts2-core 2.1.0 2.1.3 unbounded

Products and versions

2 products, 9 version entries
SourceVendorProductSchemeAffected versions
nvd apache struts generic 2.0.6 · 2.0.8 · 2.0.9 · 2.0.11 · 2.0.11.1 · 2.0.11.2 · 2.1.2_beta
osv org.apache.struts struts2-core generic ≥ 2.0.0 and < 2.0.12 · ≥ 2.1.0 and < 2.1.3

References

URLTags
https://github.com/apache/struts/commit/04fcefa44bae1263c7cad6986a9dafed67f0164f WEB
https://github.com/apache/struts/commit/1f1c996eb1f0f3e2193fba0075f62ccd04e3c0c3 WEB
https://github.com/apache/struts PACKAGE
https://web.archive.org/web/20081208214512/http://secunia.com/advisories/32497 WEB
https://web.archive.org/web/20111025094319/http://www.securityfocus.com/bid/32104 WEB
http://issues.apache.org/struts/browse/WW-2779 WEB
http://struts.apache.org/2.x/docs/s2-004.html WEB
http://osvdb.org/49733
http://osvdb.org/49734
http://secunia.com/advisories/32497 Vendor Advisory

Timeline

Published2009-03-23By the CVE Program.
NVD record modified2026-06-16NVD's own last-modified date for this record.