CVE-2012-0838
CVE-2012-0838 is an input validation in Apache Struts (CVSS 10.0, Critical).
Exploitation likely. EPSS gives it a 14% chance of exploitation in the next 30 days. Fixed in 2.2.3.1.
No public exploit knownFix2.2.3.1Upgrade to this build
e.g. OID 1.3.6.1.4.1.25623.1.0.802425
What to do
Find your product and version, then upgrade to the build on the right.
- Maven org.apache.struts:struts2-coreAffected: < 2.2.3.1Upgrade to: 2.2.3.1Stated by: GitHub advisory
- Maven org.apache.struts.xwork:xwork-coreAffected: < 2.2.3.1Upgrade to: 2.2.3.1Stated by: GitHub advisory
- Apache StrutsAffected: ≥ 2.0.0, ≤ 2.2.3Upgrade to: after 2.2.3Stated by: NVD
- IBM Corp. IBM Call Center for CommerceAffected: 9.5.0Upgrade to: not statedStated by: BDU
Versions as the sources state them. Full version matrix after sign-in
What it is
From the CVE record
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.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
14% chance of exploitation activity in the next 30 days, which ranks it in the 97th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
6 events over 5228 days, from the signal feeds we watch.
- OpenVAS check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
Technical detail
CVSS 2.0 vector
Open in the CVSS calculatorAV:N/AC:L/Au:N/C:C/I:C/A:C
Scored 10.0 by NVD.
How it is reached
- Access Vector NetworkExploitable remotely over the network
- Access Complexity LowNo special conditions required
- Authentication NoneNo authentication required
Impact if exploited
- Confidentiality CompleteAll information is disclosed
- Integrity CompleteAll data can be modified
- Availability CompleteTotal shutdown of the affected resource
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Initial AccessT1190Exploit Public-Facing Applicationlow confidence
Sources
References in the record
- jvndb.jvn.jp/jvndb/JVNDB-2012-000012
- struts.apache.org/2.3.1.2/docs/s2-007.html
- issues.apache.org/jira/browse/WW-3668
And 12 more references. See all after sign-in
Questions about CVE-2012-0838
- Is CVE-2012-0838 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 14%.
- Which versions are affected by CVE-2012-0838?
- Org.apache.struts:struts2-core: < 2.2.3.1. Org.apache.struts.xwork:xwork-core: < 2.2.3.1. Struts: ≥ 2.0.0, ≤ 2.2.3. 1 more product is listed in the record.
- How do I fix or mitigate CVE-2012-0838?
- Upgrade to 2.2.3.1 or later. The advisory is on jvndb.jvn.jp.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Maven, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI