CVE-2012-0391: Vulnerability in Apache Struts
Actively exploited. 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.
Exploited in the wild, Maven, CWE-94, CWE-20
- Exploitation
- Confirmed 21 Jan 2022
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- Agencies by 21 Jul 2022
Details
- Advisory ID
- GHSA-4wrr-9h5r-m92w
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-94, CWE-20
- Published
- 8 Jan 2012
- Last change
- 16 Jun 2026
- Ecosystem
- Maven
Affected products
Affected versions and the first fixed release
- Apache Struts Before 2.2.3.1. Fixed in 2.2.3.1
Affected packages
Vulnerable version ranges and fixed releases
- org.apache.struts:struts2-core Maven, Affected before 2.2.3.1. Fixed in 2.2.3.1
- org.apache.struts.xwork:xwork-core Maven, Affected before 2.2.3.1. Fixed in 2.2.3.1
Advisories
Vendor and security advisories
- archives.neohapsis.com/archives/bugtraq/2012-01/0031.html
- secunia.com/advisories/47393
- struts.apache.org/2.x/docs/s2-008.html
- struts.apache.org/2.x/docs/version-notes-2311.html
- issues.apache.org/jira/browse/WW-3668
Exploit code
Public exploits and proofs of concept, handle with care
Related
- Struts vulnerabilities Recent advisories, watch this product
- Exploited vulnerabilities Explorer, exploited only