GitHub Advisoryadvisory · Maven
GHSA-wv7g-xhvw-8hcp Apache Struts directory traversal vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2008-6505
- Ecosystem
- Maven
- Packages
- org.apache.struts:struts2-core
- Severity
- Moderate
- Weaknesses
- CWE-22
- Reviewed
- 2024-02-09
Affected packages
• Maven org.apache.struts:struts2-core: >= 2.0.0, < 2.0.12 → fixed in 2.0.12
• Maven org.apache.struts:struts2-core: >= 2.1.0, < 2.1.3 → fixed in 2.1.3
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.
Related
Alias · CVE (1)
- CVE-2008-6505 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… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2008-6505 advisory
- 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