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)

ArtifactAffected versionsFixed 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.

DepthDependent versions
Direct
1,144
2 hops
1,429
3 hops
814
4 hops
204
5 hops
76

Most used dependents

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.