HIGH
CVE-2013-2135
Arbitrary code execution in Apache Struts 2
Description
Apache Struts 2 before 2.3.14.3 allows remote attackers to execute arbitrary OGNL code via a request with a crafted value that contains both "${}" and "%{}" sequences, which causes the OGNL code to be evaluated twice.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.struts » struts2-core | >= 2.0.0, < 2.3.14.3 | 2.3.14.3 |
| org.apache.struts.xwork » xwork-core | >= 2.0.0, < 2.3.14.3 | 2.3.14.3 |
Blast radius
2affected artifacts
51affected versions
251dependent artifacts (est.)
3,667dependent versions
55% of the dependent artifacts (139) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,144 |
| 2 hops | 1,429 |
| 3 hops | 814 |
| 4 hops | 204 |
| 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
- org.nuiton.i18n » i18n-maven-plugin132 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
- org.nuiton.jaxx » jaxx-maven-plugin33 usages
- com.atlassian.bamboo » atlassian-bamboo-deployments-api27 usages
- com.github.httl » httl24 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-2135 | nvd.nist.gov |
| Package | apache/struts | github.com |
| Web | apache/struts commit 01e6b25 | github.com |
| Web | apache/struts commit 041206d | github.com |
| Web | apache/struts commit 113c470 | github.com |
| Web | apache/struts commit 54e5c91 | github.com |
| Web | apache/struts commit 711cf02 | github.com |
| Web | apache/struts commit 8b4fc81 | github.com |
| Web | apache/struts commit cfb6e9a | github.com |
| Web | confluence/display/WW/S2-015 | cwiki.apache.org |
| Web | jira/browse/WW-4090 | issues.apache.org |
| Web | jira/browse/WW-4094 | issues.apache.org |
| Web | jira/browse/WW-4095 | issues.apache.org |
| Web | web/20140410223942/http:/www.securityfocus.com/bid/64758 | web.archive.org |
| Web | development/2.x/docs/s2-015.html | struts.apache.org |
| Web | technetwork/topics/security/cpujan2014-1972949.html | oracle.com |
| Web | technetwork/topics/security/cpuoct2013-1899837.html | oracle.com |
