MODERATE

CVE-2012-0393

Apache Struts's ParameterInterceptor component does not prevent access to public constructors

Description

The ParameterInterceptor component in Apache Struts before 2.3.1.1 does not prevent access to public constructors, which allows remote attackers to create or overwrite arbitrary files via a crafted parameter that triggers the creation of a Java object.

Affected Maven artifacts (2)

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

Blast radius

2affected artifacts
27affected versions
210dependent artifacts (est.)
2,511dependent versions

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

DepthDependent versions
Direct
751
2 hops
935
3 hops
569
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.