CRITICAL 9.8

CVE-2012-0391

Apache Struts Remote Java Code Execution

Known exploited: listed in the CISA Known Exploited Vulnerabilities catalog.

Description

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during certain exception handling for mismatched data types of properties, which allows remote attackers to execute arbitrary Java code via a crafted parameter.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.apache.struts » struts2-core
< 2.2.3.1
2.2.3.1
org.apache.struts.xwork » xwork-core
< 2.2.3.1
2.2.3.1

Blast radius

2affected artifacts
25affected versions
192dependent artifacts (est.)
2,348dependent versions

40% of the dependent artifacts (77) still pull an affected version in their latest release.

DepthDependent versions
Direct
664
2 hops
875
3 hops
553
4 hops
180
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.