← Vulnerability feed

Vulnerability record · CVE-2008-6505 · published 23 March 2009

CVE-2008-6505: Apache Struts 2 directory traversal via encoded dot-dot-slash in /struts/ URI

Apache · Struts

Apache Struts 2.0.x before 2.0.12 and 2.1.x before 2.1.3 contain multiple directory traversal flaws in FilterDispatcher (2.0.x) and DefaultStaticContentLoader (2.1.x). A remote attacker can supply a ..%252f sequence in a URI under a /struts/ path to escape the intended directory and read arbitrary files. The issue matters because it exposes server-side files without authentication.

5.0 CVSS 2.0 Medium EPSS 73% · top 0.6% CWE-22 · Path traversal
5.0CVSS 2.0 base score
73%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
14References
16 Jun 2026Last modified by NVD

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.

AV:N/AC:L/Au:N/C:P/I:N/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: medium.

high priorityUnauthenticated remote file read with a very high EPSS score, though the CVSS 2.0 base score is only 5.0 and no KEV listing exists.

What it is

Apache Struts 2.0.x before 2.0.12 and 2.1.x before 2.1.3 contain multiple directory traversal flaws in FilterDispatcher (2.0.x) and DefaultStaticContentLoader (2.1.x). A remote attacker can supply a ..%252f sequence in a URI under a /struts/ path to escape the intended directory and read arbitrary files. The issue matters because it exposes server-side files without authentication.

Impact

An unauthenticated attacker can read arbitrary files reachable by the application process, potentially disclosing configuration, credentials or source code. The CVSS 2.0 vector shows partial confidentiality impact only, with no integrity or availability effect.

Attack surface

Reached over the network by sending a crafted HTTP request containing ..%252f in a URI with a /struts/ path. The CVSS vector (AV:N/AC:L/Au:N) indicates no authentication and no user interaction are required.

Exploitation

Not listed in CISA KEV and no ransomware associations are documented. EPSS is high (0.72711, 99.4th percentile), but the reference tags are only Vendor Advisory, so no public exploit code is confirmed by this record.

What to do

  • Upgrade Apache Struts 2 to 2.0.12 or 2.1.3 (or later) as the primary fix.
  • If immediate upgrade is not possible, block or normalize requests containing ..%252f or encoded traversal sequences at the reverse proxy or WAF.
  • Restrict the web application process account to the minimum file system permissions needed to run.
  • Review and remove unnecessary static content mappings exposed under /struts/ paths.

Detection

  • Search web access logs for URIs containing ..%252f or ..%2f under /struts/ paths.
  • Alert on requests with double-encoded traversal patterns or unusual file extensions in /struts/ URLs.
  • Monitor for outbound or local file reads by the application process that fall outside expected content directories.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2008-6505 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-17530Apache Struts forced OGNL evaluation enables remote code executionApache Struts 2.0.0 through 2.5.25 performs forced OGNL evaluation on raw user input placed in tag attributes, allowing expression language injection…KEVEPSS 96%analysed9.8CVE-2017-9791Apache Struts 1 plugin input validation flaw enables remote code executionThe Struts 1 plugin in Apache Struts 2.1.x and 2.3.x may allow remote code execution when a malicious field value is passed in a raw message to the A…KEVEPSS 99%analysed9.8CVE-2017-5638Apache Struts 2 Jakarta Multipart parser remote code executionThe Jakarta Multipart parser in Apache Struts 2 mishandles exceptions and error messages during file-upload attempts, letting a crafted Content-Type,…KEVEPSS 100%analysed9.8CVE-2013-2251Apache Struts 2 OGNL injection enables remote code executionApache Struts 2.0.0 through 2.3.15 fails to properly validate request parameters, allowing crafted action:, redirect:, or redirectAction: prefixes to…KEVEPSS 100%analysed9.8CVE-2012-0391Apache Struts ExceptionDelegator OGNL injection enables remote code executionApache Struts before 2.2.3.1 evaluates parameter values as OGNL expressions in the ExceptionDelegator component during exception handling for mismatc…KEVEPSS 76%analysed8.1CVE-2018-11776Apache Struts namespace handling flaw enables remote code executionApache Struts 2.3 through 2.3.34 and 2.5 through 2.5.16 can execute remote code when alwaysSelectFullNamespace is enabled and results or url tags are…KEVEPSS 100%analysed8.1CVE-2017-9805Apache Struts REST Plugin XStream deserialization RCEThe REST Plugin in Apache Struts 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13 uses an XStreamHandler with an XStream instance for deseri…KEVEPSS 99%analysed7.5CVE-2006-1547Apache Struts 1 ActionForm multipart parameter denial of serviceApache Struts before 1.2.9 with BeanUtils 1.7 exposes the public getMultipartRequestHandler method through ActionForm parameter binding. A remote att…KEVEPSS 55%analysed

Source: NIST National Vulnerability Database (record CVE-2008-6505), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.