CVE-2012-0838
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 13.7% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 13.7% in the next 30 days (EPSS).
- Severity: 10.0 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 13.7% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- Apache Struts ≤ 2.2.3
Attack profile CVSS 2.0 · 10.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:N/AC:L/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-0838.md and follow it. Check whether this project is affected by CVE-2012-0838. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://struts.apache.org/2.3.1.2/docs/s2-007.html
- https://issues.apache.org/jira/browse/WW-3668
- http://struts.apache.org/2.3.1.2/docs/s2-007.html
- https://issues.apache.org/jira/browse/WW-3668
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