MODERATE

CVE-2012-0392

Apache Struts's CookieInterceptor component does not use the parameter-name whitelist

Description

The CookieInterceptor component in Apache Struts before 2.3.1.1 does not use the parameter-name whitelist, which allows remote attackers to execute arbitrary commands via a crafted HTTP Cookie header that triggers Java code execution through a static method.

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.