CVE-2012-0391

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.

Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
75.599%
chance of exploitation in the next 30 days
higher than 99.5% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-01-21
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 1
Nuclei templates: 0
Exploit-DB: 2

Weakness

CISA Known Exploited Vulnerabilities entry

Vulnerability nameApache Struts 2 Improper Input Validation Vulnerability
Vendor / productApache / Struts 2
Date added2022-01-21
Federal remediation due date2022-07-21
Required actionApply updates per vendor instructions.
Known ransomware campaign useUnknown

CISA SSVC decision points

Exploitationactive
Automatableyes
Technical impacttotal
Scored2025-02-10

Timeline

  1. 2012-01-06First Exploit-DB entry (EDB-ID 18329)2 days before publication
  2. 2012-01-08Published by the CNA15:00 UTC
  3. 2022-01-21Added to the CISA KEV catalog3666 days after publication
  4. 2022-05-04GitHub advisory published (GHSA-4wrr-9h5r-m92w)3769 days after publication
  5. 2025-02-10CISA SSVC decision recorded4782 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 18984remotemultiple2012-06-05yes
EDB-ID 18329webappsmultiple2012-01-06yes

GitHub advisory GHSA-4wrr-9h5r-m92w, affected packages:

EcosystemPackageVulnerable rangePatched
Mavenorg.apache.struts.xwork:xwork-core< 2.2.3.12.2.3.1
Mavenorg.apache.struts:struts2-core< 2.2.3.12.2.3.1

Affected products

VendorProduct
apachestruts

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources