Actively exploited · Published Jan 8, 2012 · Assigned by mitre

CVE-2012-0391

Critical 9.8 Exploited

In plain English

A critical-severity code injection in Struts 2 from Apache. Attackers are actively exploiting it in the wild (listed by CISA on January 21, 2022). The chance it is exploited in the next 30 days is estimated at 75.6% (higher than 99.5% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)75.6%top 0.5% of all CVEs
Exploited in the wildYesCISA KEV since Jan 21, 2022
Attack tooling1Metasploit

CISA guidance

Apply updates per vendor instructions.

Federal agencies must remediate by Jul 21, 2022.

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.apache.struts.xwork:xwork-core2.2.3.1GHSA-4wrr-9h5r-m92w
Mavenorg.apache.struts:struts2-core2.2.3.1GHSA-4wrr-9h5r-m92w

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References