{"id":"CVE-2008-6505","aliases":["EUVD-2022-5640","GHSA-wv7g-xhvw-8hcp"],"status":"published","title":"Apache Struts directory traversal vulnerability","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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.72711,"percentile":0.9945,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-22"],"published":"2009-03-23T14:00:00Z","modified":"2026-06-16T23:02:21Z","exploits":[{"source":"exploitdb","id":"EDB-32565","title":"Struts 2.0.11 - Multiple Directory Traversal Vulnerabilities","type":"remote","platform":"multiple","date":"2008-11-04","verified":true,"url":"https://www.exploit-db.com/exploits/32565"}],"fixes":[{"ecosystem":"Maven","package":"org.apache.struts:struts2-core","fixed_in":["2.0.12","2.1.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.struts:struts2-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.12"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.struts:struts2-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.0"},{"fixed":"2.1.3"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.struts:struts2-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.12"}]}],"versions":["2.0.11","2.0.11.1","2.0.11.2","2.0.5","2.0.6","2.0.8","2.0.9"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.struts:struts2-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.0"},{"fixed":"2.1.3"}]}],"versions":["2.1.2"]}],"products":[{"vendor":"apache","product":"struts"}],"references":[{"url":"http://issues.apache.org/struts/browse/WW-2779","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://struts.apache.org/2.x/docs/s2-004.html","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"http://www.vupen.com/english/advisories/2008/3003","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory"]},{"url":"http://secunia.com/advisories/32497","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/32104","tags":["vdb-entry","x_refsource_BID","x_transferred","Vendor Advisory"]},{"url":"http://osvdb.org/49733","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://osvdb.org/49734","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-6505","tags":["advisory"]},{"url":"https://github.com/apache/struts/commit/04fcefa44bae1263c7cad6986a9dafed67f0164f","tags":["web"]},{"url":"https://github.com/apache/struts/commit/1f1c996eb1f0f3e2193fba0075f62ccd04e3c0c3","tags":["web"]},{"url":"https://web.archive.org/web/20081208214512/http://secunia.com/advisories/32497","tags":["web"]},{"url":"https://web.archive.org/web/20111025094319/http://www.securityfocus.com/bid/32104","tags":["web"]},{"url":"https://github.com/advisories/GHSA-wv7g-xhvw-8hcp"},{"url":"https://github.com/apache/struts","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2008-6505","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.","status":"published","published":"2009-03-23T14:00:00Z","modified":"2024-08-07T11:34:46.741Z","updated_at":"2026-11-02T14:34:46.587139Z"}],"euvd":[{"id":"EUVD-2022-5640","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.","status":"published","published":"2009-03-23T14:00:00Z","modified":"2024-08-07T11:34:46Z","updated_at":"2026-11-03T01:38:35.880612Z"}],"ghsa":[{"id":"GHSA-wv7g-xhvw-8hcp","title":"Apache Struts directory traversal vulnerability","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.","status":"published","published":"2022-05-17T05:52:21Z","modified":"2024-02-09T19:12:26Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:37:37.394986Z"}],"nvd":[{"id":"CVE-2008-6505","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.","status":"published","published":"2009-03-23T14:19:12.453Z","modified":"2026-06-16T23:02:21.047Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:01:31.451035Z"}],"osv":[{"id":"GHSA-wv7g-xhvw-8hcp","title":"Apache Struts directory traversal vulnerability","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.","status":"published","published":"2022-05-17T05:52:21Z","modified":"2024-12-06T05:27:30.651786Z","cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:59.131095Z"}]}}
