CVE-2012-0391
CVE-2012-0391 is a critical-severity vulnerability in Apache Struts with a CVSS 3.x base score of 9.8. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2022-01-21). The underlying weakness is classified as CWE-94.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 9.3
- EPSS exploit prediction: 76% (99th percentile)
- Actively exploited: Yes — listed in CISA KEV (added 2022-01-21)
- Weakness: CWE-94
- Affected product: Apache Struts
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2012-0391?
- CVE-2012-0391 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2012-0391 being actively exploited?
- Yes. CVE-2012-0391 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2022-01-21, which means active exploitation has been confirmed. It should be prioritised for remediation.
- What products are affected by CVE-2012-0391?
- CVE-2012-0391 affects Apache Struts. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2012-0391?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
- When was CVE-2012-0391 published?
- CVE-2012-0391 was published on 2012-01-08 and last updated on 2026-06-16.
References
- http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.html
- http://secunia.com/advisories/47393
- http://struts.apache.org/2.x/docs/s2-008.html
- http://struts.apache.org/2.x/docs/version-notes-2311.html
- http://www.exploit-db.com/exploits/18329
- https://issues.apache.org/jira/browse/WW-3668
- https://www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-0391
Affected products (1)
- cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*
More vulnerabilities in Apache Struts
- CVE-2013-4316 — Critical (CVSS 10.0): Apache Struts 2.0.0 through 2.3.15.1 enables Dynamic Method Invocation by default, which has unknown impact and attack…
- CVE-2012-0838 — Critical (CVSS 10.0): Apache Struts 2 before 2.2.3.1 evaluates a string as an OGNL expression during the handling of a conversion error,…
- CVE-2024-53677 — Critical (CVSS 9.8): File upload logic in Apache Struts is flawed. An attacker can manipulate file upload params to enable paths traversal…
- CVE-2023-50164 — Critical (CVSS 9.8): An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to…
- CVE-2021-31805 — Critical (CVSS 9.8): The fix issued for CVE-2020-17530 was incomplete. So from Apache Struts 2.0.0 to 2.5.29, still some of the tag’s…
- CVE-2020-17530 — Critical (CVSS 9.8): Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution. Affected…
All CVEs affecting Apache Struts →
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-76605 — Critical (CVSS 10.0): Joomla Extension - fabrikar.com - Remote code execution via image element in Fabrik < 4.7.3 - ???.
- CVE-2026-76604 — Critical (CVSS 10.0): Joomla Extension - fabrikar.com - Unauthenticated remote code execution via PHP form element in Fabrik < 4.7.3 - The…
- CVE-2026-67364 — Critical (CVSS 10.0): Joomla Extension - balbooa.com - Pre-auth PHP Code Injection in Balbooa Forms < 2.4.3.2 - CWE-94 / CWE-95 | CVSS 3.1:…
- CVE-2026-73343 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in WP Compress < 7.20.01 versions.
- CVE-2026-74253 — Critical (CVSS 10.0): Joomla Extension - regularlabs.com - Unauthenticated RCE through unverified reflected user input in Sourcerer < 14.0.0…
- CVE-2026-73678 — Critical (CVSS 10.0): MindsDB Minds Platform version 26.1.0 and earlier contains an unauthenticated remote code execution vulnerability that…