VDB
Sign up
HIGH

GHSA-pw8r-x2qm-3h5m

Arbitrary code execution in Apache Struts 2

Quick fix

GHSA-pw8r-x2qm-3h5m — org.apache.struts:struts2-core: upgrade to the fixed version with the command below.

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

Details

Apache Struts 2 before 2.3.14.3 allows remote attackers to execute arbitrary OGNL code via a request with a crafted value that contains both "${}" and "%{}" sequences, which causes the OGNL code to be evaluated twice.

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.3.14.3
Fix# pom.xml: bump <version>2.3.14.3</version> for org.apache.struts:struts2-core
Maven/org.apache.struts.xwork:xwork-core
Introduced in: 2.0.0Fixed in: 2.3.14.3
Fix# pom.xml: bump <version>2.3.14.3</version> for org.apache.struts.xwork:xwork-core

References