CVE-2012-0391
CONFIRMED EXPLOITEDApache Struts 2 Improper Input Validation Vulnerability
Is Apache Struts 2 affected by CVE-2012-0391?
Apache Struts 2 is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2012-0391, added on 2022-01-21. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (1 vulnerable CPE entry): apache struts.
Published CPE version bounds mark releases below 2.2.3.1 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2022-07-21.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2026-129448Same vendorApache Roller
Apache Roller Deserialization of Untrusted Data Vulnerability
- CVE-2026-90436Same vendorApache Axis
Apache Axis Unsafe Reflection Vulnerability
- CVE-2016-3081Same vendorApache Struts
Apache Struts Command Injection Vulnerability
- CVE-2026-34486Same vendorApache Tomcat
Apache Tomcat Missing Encryption of Sensitive Data Vulnerability
- CVE-2006-1547Neighboring entryApache Struts 1
Apache Struts 1 ActionForm Denial-of-Service Vulnerability
- CVE-2018-8453Neighboring entryMicrosoft Win32k
Microsoft Win32k Privilege Escalation Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
The ExceptionDelegator component in Apache Struts 2 before 2.2.3.1 contains an improper input validation vulnerability that allows for remote code execution.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2022-01-21. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Struts 2 has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- HTTP / web application surface (Apache Struts 2): inspect reverse-proxy, WAF, and application access/error logs alongside `Zeek http.log` and `Suricata eve.json` for anomalous requests targeting exposed endpoints.
- Inventory all hosts running Apache Struts 2 and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.htmlBroken LinkExploit
- 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 LinkExploit
- http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.htmlBroken LinkExploit
- 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 LinkExploit
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-0391US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Fast, template-driven vulnerability scanner by ProjectDiscovery
Intercepting web proxy and automated web application security testing tool
Multi-threaded IDS, IPS, and network security monitoring engine
Behavior-based open-source intrusion prevention system (IPS) and log analysis engine