ADVISORIES

GitHub Advisory Database

GHSA-pw8r-x2qm-3h5m

Arbitrary code execution in Apache Struts 2

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.struts:struts2-core
From 2.0.0 before 2.3.14.3 (fixed in 2.3.14.3)
Mavenorg.apache.struts.xwork:xwork-core
From 2.0.0 before 2.3.14.3 (fixed in 2.3.14.3)

References