Skip to content
OpenAdvisories
Medium Public exploit CVE-2008-6505 EUVD-2022-5640GHSA-wv7g-xhvw-8hcp

Apache Struts directory traversal vulnerability

Published Mar 23, 2009 · Updated Aug 7, 2024 · Assigned by mitre

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.

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
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 GHSA-wv7g-xhvw-8hcp

References