ADVISORIES

GitHub Advisory Database

GHSA-mwrx-hx6x-3hhv

Apache Struts Code injection due to conversion error

Details

Apache Struts 2 before 2.2.3.1 evaluates a string as an OGNL expression during the handling of a conversion error, which allows remote attackers to modify run-time data values, and consequently execute arbitrary code, via invalid input to a field.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.struts:struts2-core
All versions before 2.2.3.1 (fixed in 2.2.3.1)
Mavenorg.apache.struts.xwork:xwork-core
All versions before 2.2.3.1 (fixed in 2.2.3.1)

References