Skip to content

Apache Struts directory traversal vulnerability

Moderate severity GitHub Reviewed Published May 17, 2022 to the GitHub Advisory Database • Updated Feb 9, 2024

Package

maven org.apache.struts:struts2-core (Maven)

Affected versions

>= 2.0.0, < 2.0.12
>= 2.1.0, < 2.1.3

Patched versions

2.0.12
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.

References

Published by the National Vulnerability Database Mar 23, 2009
Published to the GitHub Advisory Database May 17, 2022
Reviewed Feb 9, 2024
Last updated Feb 9, 2024

Severity

Moderate

EPSS score

96.499%
(100th percentile)

Weaknesses

CVE ID

CVE-2008-6505

GHSA ID

GHSA-wv7g-xhvw-8hcp

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.