CISA list

As of , CVE-2012-0391 in Apache Struts 2 is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.

CVE-2012-0391

Apache Struts 2: Improper Input Validation. Exploited, and in our Patch this week group.

Our patch-first group

Patch this week

  • Metasploit module
  • EPSS 0.76
  • Verified Exploit-DB entry

CISA's required action

Apply updates per vendor instructions.

Patch infofixed versions and vendor advice

What to install

  • Affects Apache Struts 2.

The record's list of affected products gives no versions.

EPSS score
0.76
Higher than 99% of the CVEs EPSS scores.

EPSS estimates the chance of exploitation activity in the next 30 days.

Exploited
Yes CISA listed it on 21 January 2022
US federal deadline
21 July 2022 181 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Not known to CISA
EPSS when listed
Not available CISA listed it before 4 February 2022, where the EPSS files we read begin.
Public exploit
1 Metasploit module and 2 Exploit-DB entries (2 verified)

In software packages

Affected packages

Software packages that the advisories for this CVE name. Each line is what one advisory says, with its id.

Since listing

EPSS since listing

0.000.501.000.50: EPSS line for Patch this weekEPSS model v2023.03.01EPSS model v2025.03.14EPSS model v2026.06.1520232024202520260.000.501.00EPSS model v2023.03.01EPSS model v2025.03.14EPSS model v2026.06.1520232025

EPSS for CVE-2012-0391 since our EPSS history begins, on the days its value to 2 decimals changed. EPSS scores by FIRST.

Show the numbers
FromEPSS
0.81
0.80
0.79
0.78
0.12
0.15
0.16
0.20
0.18
0.33
0.36
0.29
0.36
0.33
0.31
0.29
0.19
0.17
0.14
0.12
0.92
0.91
0.90
0.89
0.88
0.87
0.88
0.75
0.76

Timeline

What happened when

  1. Exploit-DB published an exploit (EDB-ID 18329).
  2. The CVE record was published.
  3. Exploit-DB published an exploit (EDB-ID 18984).
  4. CISA added it to its list of exploited vulnerabilities.
  5. The US federal deadline to fix it.

CISA's required action

What CISA says to do

Apply updates per vendor instructions.

Read further: CISA's catalog

The flaw

What the flaw is

The ExceptionDelegator component in Apache Struts 2 before 2.2.3.1 contains an improper input validation vulnerability that allows for remote code execution.

CISA's 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.

The CVE record's description, from mitre

CVE published
8 January 2012
Assigned by
mitre
CVSS
9.8 Critical (CVSS 3.1, from CISA-ADP)
CWE-94
Improper Control of Generation of Code
CWE-20
Improper Input Validation
CISA SSVC, exploitation
active
CISA SSVC, automatable
yes
CISA SSVC, technical impact
total

Public exploits

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Metasploit
Apache Struts Remote Command Execution
exploit module, rank excellent
Exploit-DB
Apache Struts 2.2.1.1 - Remote Command Execution (Metasploit)
EDB-ID 18984, verified by Exploit-DB, 5 June 2012
Exploit-DB
Apache Struts 2 < 2.3.1 - Multiple Vulnerabilities
EDB-ID 18329, verified by Exploit-DB, 6 January 2012
Sources
  • CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
  • CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
  • EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0