What’s Vulnerable › Vulnerabilities
CVE-2012-0838
- Severity: critical (CVSS 10.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 13.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2012-03-02 · updated 2026-06-16
- Weakness: CWE-20
Description
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 products
- Apache Struts: from 2.0.0 through 2.2.3
References
- http://jvn.jp/en/jp/JVN79099262/index.html
- http://jvndb.jvn.jp/jvndb/JVNDB-2012-000012
- http://struts.apache.org/2.3.1.2/docs/s2-007.html
- https://issues.apache.org/jira/browse/WW-3668
- http://jvn.jp/en/jp/JVN79099262/index.html
- http://jvndb.jvn.jp/jvndb/JVNDB-2012-000012
- http://struts.apache.org/2.3.1.2/docs/s2-007.html
- https://issues.apache.org/jira/browse/WW-3668
Get alerted when CVE-2012-0838 or the next vulnerability affects your stack