CVE-2012-0391 Apache Struts 2 Improper Input Validation Vulnerability
The ExceptionDelegator component in Apache Struts 2 before 2.2.3.1 contains an improper input validation vulnerability that allows for remote code execution.
From the CISA KEV catalogue version 2026.11.06, with Cybergen analysis. Updated 6 Nov 2026.
Should You Worry?
- CISA confirmed exploitation in the wild and added it to the Known Exploited Vulnerabilities catalogue on 21 Jan 2022.
- Rated Critical severity (CVSS 9.8, scored by CISA).
- It has been in the catalogue for 1,750 days. Systems still unpatched now have almost certainly been scanned for it.
What It Is
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.
What To Do Now
- 1
Find it
Search your asset inventory and external attack surface for Apache Struts 2. Include cloud images, appliances and anything a supplier runs for you.
Attack Surface Management - 2
- 3
Hunt for compromise
If an affected system was reachable before you patched, assume it may have been hit. Check logs, new accounts, web shells and outbound connections from the date of exposure.
Incident Response - 4
Prove it is fixed
Rescan or test the system after patching. Upgrades that fail silently and forgotten secondary instances are common.
Penetration Testing
Vendor Advisories
The Compliance Clock
General guidance, not legal advice. Your obligations depend on your sector, scope and jurisdiction.
Not Sure If You Are Exposed?
Our attack surface and vulnerability teams can check your internet-facing estate for CVE-2012-0391 and every other exploited flaw on the list.
Sources
- CISA Known Exploited Vulnerabilities catalogue
- NVD: CVE-2012-0391
- CVE record: CVE-2012-0391
- FIRST EPSS
- exploit-db.com/exploits/18329
- archives.neohapsis.com/archives/bugtraq/2012-01/0031.html
- struts.apache.org/2.x/docs/version-notes-2311.html
- struts.apache.org/2.x/docs/s2-008.html
- sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt
- issues.apache.org/jira/browse/WW-3668
- secunia.com/advisories/47393
