Apache Struts Code injection due to conversion error
Date: 2022-05
Affected: maven/org.apache.struts.xwork:xwork-core, maven/org.apache.struts:struts2-core
Attack vector: rce
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2012-0838
CWE: CWE-20

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.


Mitigations:

Architectural layers (MAESTRO):