CVE-2013-4310
Apache Struts2 Broken Access Control Vulnerability
Description
The Struts 2 action mapping mechanism supports the special parameter prefix action: which is intended to help with attaching navigational information to buttons within forms, under certain conditions this can be used to bypass security constraints.
In Struts 2.3.15.3 the action mapping mechanism was changed to avoid circumventing security constraints. Two additional constants were introduced to steer behaviour of DefaultActionMapper:
- struts.mapper.action.prefix.enabled - when set to false support for "action:" prefix is disabled, set to false by default
- struts.mapper.action.prefix.crossNamespaces - when set to false, actions defined with "action:" prefix must be in the same namespace as current action
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.struts » struts2-core | < 2.3.15.3 | 2.3.15.3 |
Blast radius
41% of the dependent artifacts (109) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,322 |
| 2 hops | 4,719 |
| 3 hops | 3,538 |
| 4 hops | 1,103 |
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.upm » atlassian-universal-plugin-manager-plugin38 usages
- com.atlassian.plugins » atlassian-nav-links-plugin30 usages
- com.atlassian.bamboo » atlassian-bamboo-deployments-api27 usages
- com.github.httl » httl24 usages
- com.atlassian.bamboo » atlassian-bamboo-deployments16 usages
- com.atlassian.bamboo » atlassian-bamboo-web-app15 usages
Computed from the dependency graph of build 20261201.0702 (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-2013-4310 | nvd.nist.gov |
| Package | apache/struts | github.com |
| Web | apache/struts commit 0c8366c | github.com |
| Web | release/2.3.x/docs/s2-018.html | struts.apache.org |
