CVE-2012-4386
Cross-Site Request Forgery in Apache Struts
Description
The token check mechanism in Apache Struts 2.0.0 through 2.3.4 does not properly validate the token name configuration parameter, which allows remote attackers to perform cross-site request forgery (CSRF) attacks by setting the token name configuration parameter to a session attribute.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.struts » struts2-core | >= 2.0.0, < 2.3.4.1 | 2.3.4.1 |
Blast radius
38% of the dependent artifacts (85) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 844 |
| 2 hops | 769 |
| 3 hops | 271 |
| 4 hops | 4 |
Most used dependents
- 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
- com.atlassian.bamboo » atlassian-bamboo-deployments-api27 usages
- com.atlassian.bamboo » atlassian-bamboo-deployments16 usages
- com.jgeppert.struts2.jquery » struts2-jquery-grid-plugin15 usages
- com.atlassian.bamboo » atlassian-bamboo-web-app15 usages
- org.nuiton.web » nuiton-struts212 usages
- com.atlassian.bamboo » atlassian-bamboo-persistence12 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-4386 | nvd.nist.gov |
| Web | vulnerabilities/78182 | exchange.xforce.ibmcloud.com |
| Web | jira/browse/WW-3858 | issues.apache.org |
| Web | 2.x/docs/s2-010.html | struts.apache.org |
| Web | lists/oss-security/2012/09/01/4 | openwall.com |
| Web | lists/oss-security/2012/09/01/5 | openwall.com |
