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.
Exploit-DB 1
- Struts 2.0.11 - Multiple Directory Traversal Vulnerabilities EDB-32565 · remote · Nov 4, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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
- http://issues.apache.org/struts/browse/WW-2779
- http://struts.apache.org/2.x/docs/s2-004.html
- ADV-2008-3003 vdb-entry
- 32497 third-party-advisory
- 32104 vdb-entry
- 49733 vdb-entry
- 49734 vdb-entry