CRITICAL 9.8
CVE-2012-0391
Apache Struts Remote Java Code Execution
Known exploited: listed in the CISA Known Exploited Vulnerabilities catalog.
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 Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.struts » struts2-core | < 2.2.3.1 | 2.2.3.1 |
| org.apache.struts.xwork » xwork-core | < 2.2.3.1 | 2.2.3.1 |
Blast radius
2affected artifacts
25affected versions
192dependent artifacts (est.)
2,348dependent versions
40% of the dependent artifacts (77) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 664 |
| 2 hops | 875 |
| 3 hops | 553 |
| 4 hops | 180 |
| 5 hops | 76 |
Most used dependents
- org.apache.struts » struts2-core360 usages
- com.atlassian.bamboo » atlassian-bamboo-web203 usages
- com.atlassian.bamboo » atlassian-bamboo-api171 usages
- com.atlassian.bamboo » atlassian-bamboo-core127 usages
- com.atlassian.bamboo » atlassian-bamboo-test-utils105 usages
- com.atlassian.bamboo » atlassian-bamboo-pageobjects65 usages
- com.jgeppert.struts2.jquery » struts2-jquery-plugin50 usages
- org.apache.struts » struts2-convention-plugin48 usages
- com.atlassian.bamboo.plugins » atlassian-bamboo-plugin-test-utils41 usages
- org.nuiton » nuiton-validator33 usages
- com.atlassian.bamboo » atlassian-bamboo-deployments-api27 usages
- org.nuiton.jaxx » maven-jaxx-plugin20 usages
- org.nuiton.jaxx » jaxx-validator18 usages
- com.atlassian.bamboo » atlassian-bamboo-deployments16 usages
- com.jgeppert.struts2.jquery » struts2-jquery-grid-plugin15 usages
Computed from the dependency graph of build 20261205.2030 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2012-0391 | nvd.nist.gov |
| Package | apache/struts | github.com |
| Web | apache/struts commit 25e5006 | github.com |
| Web | apache/struts commit 5f54b8d | github.com |
| Web | apache/struts commit b4265d3 | github.com |
| Web | jira/browse/WW-3668 | issues.apache.org |
| Web | known-exploited-vulnerabilities-catalog | cisa.gov |
| Web | files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt | sec-consult.com |
| Web | archives/bugtraq/2012-01/0031.html | archives.neohapsis.com |
| Web | advisories/47393 | secunia.com |
| Web | 2.x/docs/s2-008.html | struts.apache.org |
| Web | 2.x/docs/version-notes-2311.html | struts.apache.org |
| Web | exploits/18329 | exploit-db.com |
