Vulnerability record · CVE-2012-0838 · published 2 March 2012
CVE-2012-0838: Apache struts improper input validation vulnerability
Apache · Struts
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.
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.
AV:N/AC:L/Au:N/C:C/I:C/A:C
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://jvn.jp/en/jp/JVN79099262/index.html | Third Party AdvisoryVDB Entry |
| http://jvndb.jvn.jp/jvndb/JVNDB-2012-000012 | Third Party AdvisoryVDB Entry |
| http://struts.apache.org/2.3.1.2/docs/s2-007.html | Vendor Advisory |
| https://issues.apache.org/jira/browse/WW-3668 | Issue TrackingVendor Advisory |
| http://jvn.jp/en/jp/JVN79099262/index.html | Third Party AdvisoryVDB Entry |
| http://jvndb.jvn.jp/jvndb/JVNDB-2012-000012 | Third Party AdvisoryVDB Entry |
| http://struts.apache.org/2.3.1.2/docs/s2-007.html | Vendor Advisory |
| https://issues.apache.org/jira/browse/WW-3668 | Issue TrackingVendor Advisory |
Track CVE-2012-0838 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2012-0838), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.