CVE-2012-0393
Apache Struts's ParameterInterceptor component does not prevent access to public constructors
Description
The ParameterInterceptor component in Apache Struts before 2.3.1.1 does not prevent access to public constructors, which allows remote attackers to create or overwrite arbitrary files via a crafted parameter that triggers the creation of a Java object.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.struts » struts2-core | < 2.3.1.1 | 2.3.1.1 |
| org.apache.struts.xwork » xwork-core | < 2.2.3.1 | 2.2.3.1 |
Blast radius
41% of the dependent artifacts (88) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 751 |
| 2 hops | 935 |
| 3 hops | 569 |
| 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.centit.framework » framework-core53 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
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-0393 | nvd.nist.gov |
| Package | apache/struts | github.com |
| Web | apache/struts commit 25e5006 | github.com |
| Web | apache/struts commit 9cad25f | github.com |
| Web | web/20120612142634/https:/sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critica ... | web.archive.org |
| Web | web/20140723153720/http:/secunia.com/advisories/47393 | web.archive.org |
| Web | archives/bugtraq/2012-01/0031.html | archives.neohapsis.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 |
