CVE-2012-0391
Apache Struts 2 Improper Input Validation Vulnerability
Does this matter?
Known to be exploited in the wild (CISA KEV, CISA remediation deadline 21 July 2022). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.
Description
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 75.60% probability · 100th percentile
- Public exploits
- 2 in Exploit-DB · verified · first 6 January 2012
- CISA KEV
- Listed 21 January 2022 · due 21 July 2022
- Weakness
- CWE-94
- Affected
- apache/struts
- Source
- cve@mitre.org
EPSS 75.6% since 30 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
CISA notes
Apply updates per vendor instructions. https://nvd.nist.gov/vuln/detail/CVE-2012-0391
Public exploits (2)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.htmlBroken Link, Exploit
- http://secunia.com/advisories/47393Vendor Advisory
- http://struts.apache.org/2.x/docs/s2-008.htmlVendor Advisory
- http://struts.apache.org/2.x/docs/version-notes-2311.htmlVendor Advisory
- http://www.exploit-db.com/exploits/18329Exploit
- https://issues.apache.org/jira/browse/WW-3668Vendor Advisory
- https://www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txtBroken Link, Exploit
- http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.htmlBroken Link, Exploit
- http://secunia.com/advisories/47393Vendor Advisory
- http://struts.apache.org/2.x/docs/s2-008.htmlVendor Advisory
- http://struts.apache.org/2.x/docs/version-notes-2311.htmlVendor Advisory
- http://www.exploit-db.com/exploits/18329Exploit
- https://issues.apache.org/jira/browse/WW-3668Vendor Advisory
- https://www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txtBroken Link, Exploit
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-0391US Government Resource
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.