# CVE-2012-0391

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during certain exception handling for mismatched data types of properties, which allows remote attackers to execute arbitrary Java code via a crafted parameter.

- Page: https://www.vulneraibility.com/cve/CVE-2012-0391
- CVSS: 9.8
- Known exploited: yes, in CISA KEV since 2022-01-21; CISA due date 2022-07-21
- EPSS: 75.60% (percentile 99.5)
- Public exploit code: 2 on Exploit-DB · 1 Metasploit module (first 2012-01-06)
- CISA SSVC: exploitation active, automatable yes, technical impact total (assessed 2025-02-10)
- Weakness: CWE-94
- Published: 2012-01-08

## Affected

- apache:struts

## References

- [exploit] http://www.exploit-db.com/exploits/18329
- [other] http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.html
- [other] http://struts.apache.org/2.x/docs/version-notes-2311.html
- [other] http://struts.apache.org/2.x/docs/s2-008.html
- [other] https://www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt
- [other] https://issues.apache.org/jira/browse/WW-3668
- [advisory] http://secunia.com/advisories/47393
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-0391

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
