CVE-2012-0391
Apache Struts 2 Improper Input Validation
- Published8 Jan 2012
- Added to CISA KEV21 Jan 2022
- Remediation due21 Jul 2022
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 breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
Remediation
References
- http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.html
- http://secunia.com/advisories/47393
- https://issues.apache.org/jira/browse/WW-3668
- http://struts.apache.org/2.x/docs/s2-008.html
- http://struts.apache.org/2.x/docs/version-notes-2311.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-0391
- https://www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt
- http://www.exploit-db.com/exploits/18329
Related CVEs
Recent high-severity vulnerabilities sharing a weakness type.
Frequently asked
Is CVE-2012-0391 being actively exploited?
Yes. CVE-2012-0391 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added 21 Jan 2022.
How severe is CVE-2012-0391?
CVE-2012-0391 has a CVSS 3.1 base score of 9.8, rated critical. EPSS estimates a 75.6% probability of exploitation.
Which products are affected by CVE-2012-0391?
Affected products include Apache Struts.
How do I fix CVE-2012-0391?
Upgrade affected software to a fixed version, for example Apache Struts 2.2.3.1 or later, then confirm no affected versions remain in your inventory.
How Secuno handles this
Secuno correlates vulnerabilities like CVE-2012-0391 against the real software inventory on every managed device, every day. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. Because it is on the CISA KEV list, Secuno flags any affected asset as top-priority automatically. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.
Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.