CVE-2013-2248
Open redirect in Apache Struts
Description
The Struts 2 DefaultActionMapper used to support a method for short-circuit navigation state changes by prefixing parameters with "redirect:" or "redirectAction:", followed by a desired redirect target expression. This mechanism was intended to help with attaching navigational information to buttons within forms. Attackers could use this to redirect to arbitrary web sites and conduct phishing attacks.
In Struts 2 before 2.3.15.1 the information following "redirect:" or "redirectAction:" can easily be manipulated to redirect to an arbitrary location.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.struts » struts2-core | < 2.3.15.1 | 2.3.15.1 |
Blast radius
40% of the dependent artifacts (102) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,272 |
| 2 hops | 4,679 |
| 3 hops | 3,527 |
| 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 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-2013-2248 | nvd.nist.gov |
| Package | apache/struts | github.com |
| Web | apache/struts commit 3cfe34f | github.com |
| Web | apache/struts commit 630e1ba | github.com |
| Web | jira/browse/WW-4140 | issues.apache.org |
| Web | release/2.3.x/docs/s2-017.html | struts.apache.org |
