VDB
Sign up
MEDIUM

GHSA-wv7g-xhvw-8hcp

Apache Struts directory traversal vulnerability

Quick fix

GHSA-wv7g-xhvw-8hcp — org.apache.struts:struts2-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.0.12</version> for org.apache.struts:struts2-core

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.struts:struts2-core
Introduced in: 2.0.0Fixed in: 2.0.12
Fix# pom.xml: bump <version>2.0.12</version> for org.apache.struts:struts2-core
Maven/org.apache.struts:struts2-core
Introduced in: 2.1.0Fixed in: 2.1.3
Fix# pom.xml: bump <version>2.1.3</version> for org.apache.struts:struts2-core

References