Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.struts/struts2-core
  4. ›
  5. CVE-2008-6505

CVE-2008-6505: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

May 17, 2022 (updated February 9, 2024)

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.

References

  • issues.apache.org/struts/browse/WW-2779
  • struts.apache.org/2.x/docs/s2-004.html
  • github.com/advisories/GHSA-wv7g-xhvw-8hcp
  • github.com/apache/struts/commit/04fcefa44bae1263c7cad6986a9dafed67f0164f
  • github.com/apache/struts/commit/1f1c996eb1f0f3e2193fba0075f62ccd04e3c0c3
  • nvd.nist.gov/vuln/detail/CVE-2008-6505
  • web.archive.org/web/20081208214512/http://secunia.com/advisories/32497
  • web.archive.org/web/20111025094319/http://www.securityfocus.com/bid/32104

Code Behaviors & Features

Detect and mitigate CVE-2008-6505 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 before 2.0.12, all versions starting from 2.1.0 before 2.1.3

Fixed versions

  • 2.0.12
  • 2.1.3

Solution

Upgrade to versions 2.0.12, 2.1.3 or above.

Impact 5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/org.apache.struts/struts2-core/CVE-2008-6505.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:06 +0000.