CVE-2008-6505: Path Traversal

Published Mar 23, 2009
·
Updated

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.

Other sources

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.

GitHub

Affected Software

9 affected componentsFixes available
maven/org.apache.struts:struts2-core>=2.1.0<2.1.3
2.1.3
maven/org.apache.struts:struts2-core>=2.0.0<2.0.12
2.0.12
Apache struts=2.0.9
Apache struts=2.0.8
Apache struts=2.0.11.1
Apache struts=2.1.2_beta
Apache struts=2.0.11
Apache struts=2.0.11.2
Apache struts=2.0.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.struts:struts2-core to a version that resolves this vulnerability.

    Fixed in 2.1.3
  2. Upgrade

    Upgrade maven/org.apache.struts:struts2-core to a version that resolves this vulnerability.

    Fixed in 2.0.12

Event History

Mar 23, 2009
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
via NVD·02:19 PM
DescriptionSeverityWeaknessAffected Software
May 17, 2022
Advisory Published
via GitHub·05:52 AM

Frequently Asked Questions

1

What is the severity of CVE-2008-6505?

CVE-2008-6505 is considered a critical vulnerability that allows remote attackers to exploit directory traversal and read arbitrary files.

2

How do I fix CVE-2008-6505?

To fix CVE-2008-6505, upgrade Apache Struts to version 2.0.12 or 2.1.3 or later.

3

Which versions of Apache Struts are affected by CVE-2008-6505?

CVE-2008-6505 affects Apache Struts versions 2.0.6 to 2.0.11.2 and all versions of 2.0.x prior to 2.0.12.

4

Can CVE-2008-6505 be exploited remotely?

Yes, CVE-2008-6505 can be exploited remotely by attackers through crafted URIs.

5

What are the symptoms of exploitation of CVE-2008-6505?

Exploitation of CVE-2008-6505 may result in unauthorized file access on the server, potentially exposing sensitive information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203