CVE-2012-0391
CVE-2012-0391 — Apache Struts 2 Improper Input Validation Vulnerability
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.
Published Updated Sources: NVD, CISA, FIRST EPSS, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Jan 21, 2022
EPSS
77%
ahead of 99.7% of scored CVEs
CVSS base
9.8
critical · 2 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade Struts to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
CISA required action
Apply updates per vendor instructions.
Federal deadline Jul 21, 2022 — passed 1,597 days ago
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apache | struts | n/a | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | critical | 3.9 | 5.9 | NVD, CNA |
| 9.3 | CVSS 2.0 | high | 8.6 | 10 | NVD |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-20 · Improper Input Validation
- DoS: Crash, Exit, or Restart
- DoS: Resource Consumption (CPU)
- DoS: Resource Consumption (Memory)
- Read Memory
Mitigation: Consider using language-theoretic security (LangSec) techniques that characterize inputs using a formal language and build recognizers for that language. This effectively requires parsing to be a distinct layer that effectively enforces a boundary between raw input and internal data representations, instead of allowing parser code to be scattered throughout the program, where it could be subject to errors or inconsistencies that create weaknesses. [REF-1109] [REF-1110] [REF-1111]
CWE-94 · Improper Control of Generation of Code ('Code Injection')
- Bypass Protection Mechanism
- Gain Privileges or Assume Identity
- Execute Unauthorized Code or Commands
- Hide Activities
Mitigation: Refactor your program so that you do not have to dynamically generate code.
Weakness & attack patterns
- CWE-94Code Injection
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1027.006Obfuscated Files or Information: HTML Smuggling
- T1027.009Obfuscated Files or Information: Embedded Payloads
- T1564.009Hide Artifacts: Resource Forking
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Jan 21, 2022
Federal deadline
Jul 21, 2022
passed 1,597 days ago
Ransomware use
Unknown
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
4
1 of the 4 sampled are weaponized
Exploit entries
3
Exploit-DB and CTI exploit indexes
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
8 new OPEN, 37 new PRO (8 + 29) Lumma Stealer, TA569, Coruna EK, CVE-2012-0391, CVE-2015-3035, CVE-2019-1003030, CVE-2020-14750, CVE-2022-34713, CVE-2025-8110, and many more. https://t.co/vnrjzjhZ8p
@ET_Labs· Oct 26, 2026
RT @ET_Labs: 8 new OPEN, 37 new PRO (8 + 29) Lumma Stealer, TA569, Coruna EK, CVE-2012-0391, CVE-2015-3035, CVE-2019-1003030, CVE-2020-1475…
@skocherhan· Oct 26, 2026
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Struts.
- Monitor for scanner or exploit-pattern traffic after 7 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 9.8 (AV:N)
Jun 16, 2026 · NVD
- 2025
Bulletin released on Mitre.
Jul 28, 2025 · SOCRadar CTI
- 2024
Bulletin released on NIST.
Dec 20, 2024 · SOCRadar CTI
- 2023
CVE is exploited. "Ostorlab/KEV"
Dec 26, 2023 · SOCRadar CTI
CVE is exploited. "TesterCC/exp_poc_library"
Dec 26, 2023 · SOCRadar CTI
- 2022
Added to CISA KEV catalog
Jan 21, 2022 · CISA
- 2012
Initial · CVE published
Jan 8, 2012 · NVD
CVE published by MITRE.
Jan 8, 2012 · SOCRadar CTI
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 5×ModifiedJan 8, 2012 – Apr 22, 2026 · SOCRadar CTI
- 4×Github ReposJun 9, 2021 – Apr 19, 2022 · SOCRadar CTI
- 1×Tweets · 1 time tweeted.Oct 27, 2026 · SOCRadar CTI
References
9 on the record
- archives.neohapsis.com/archives/bugtraq/2012-01/0031.html
Broken Link, Exploit, NIST, Mitre
- secunia.com/advisories/47393
Vendor Advisory, Mitre, NIST
- struts.apache.org/2.x/docs/s2-008.html
Vendor Advisory, NIST, MITRE_REFERENCES
- struts.apache.org/2.x/docs/version-notes-2311.html
Vendor Advisory, MITRE_REFERENCES, NIST
- www.exploit-db.com/exploits/18329
Exploit, Mitre, NIST, GITHUB
- issues.apache.org/jira/browse/WW-3668
Vendor Advisory, NIST, MITRE_REFERENCES
- www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt
Broken Link, Exploit, MITRE_REFERENCES, NIST
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-0391
US Government Resource, NIST
Coverage
1 story from the feeds we poll
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2020-17530 Apache Struts Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2013-2251 Apache Struts Improper Input Validation VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2016-3081 Apache Struts Command Injection VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2006-1547 Apache Struts 1 ActionForm Denial-of-Service VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2025-32432 Craft CMS Allows Remote Code ExecutionCVSS 10.0 · CISA KEV
- CVE-2024-4040 CrushFTP VFS Sandbox Escape VulnerabilityCVSS 10.0 · CISA KEV
Elsewhere on this site
- Apacheevery CVE for this vendor
- strutsevery page on this product
- January 2022what else CISA listed
- Remote Code Execsame class
- CWE-94other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2012-0391 is Apache Struts 2 Improper Input Validation Vulnerability, a critical vulnerability affecting Struts from Apache. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 7 public PoC repositories reported; 1 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 77% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.
