CVE-2013-2251
Code injection in Apache Struts
Description
The Struts 2 DefaultActionMapper supports a method for short-circuit navigation state changes by prefixing parameters with "action:" or "redirect:", followed by a desired navigational target expression. This mechanism was intended to help with attaching navigational information to buttons within forms.
In Struts 2 before 2.3.15.1 the information following "action:", "redirect:" or "redirectAction:" is not properly sanitized. Since said information will be evaluated as OGNL expression against the value stack, this introduces the possibility to inject server side code.
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-2251 | nvd.nist.gov |
| Package | apache/struts | github.com |
| Web | apache/struts commit 3cfe34f | github.com |
| Web | apache/struts commit 630e1ba | github.com |
| Web | vulnerabilities/90392 | exchange.xforce.ibmcloud.com |
| Web | jira/browse/WW-4140 | issues.apache.org |
| Web | known-exploited-vulnerabilities-catalog | cisa.gov |
| Web | security.html | archiva.apache.org |
| Web | issue/WLB-2014010087 | cxsecurity.com |
| Web | files/159629/Apache-Struts-2-Remote-Code-Execution.html | packetstormsecurity.com |
| Web | fulldisclosure/2013/Oct/96 | seclists.org |
| Web | oss-sec/2014/q1/89 | seclists.org |
| Web | release/2.3.x/docs/s2-016.html | struts.apache.org |
| Web | security/center/content/CiscoSecurityAdvisory/cisco-sa-20131023-struts2 | tools.cisco.com |
| Web | global/support/software/security/products-f/interstage-bpm-analytics-201301e.html | fujitsu.com |
| Web | technetwork/topics/security/cpujan2014-1972949.html | oracle.com |
| Web | technetwork/topics/security/cpujul2015-2367936.html | oracle.com |
