MODERATE

CVE-2012-4386

Cross-Site Request Forgery in Apache Struts

Description

The token check mechanism in Apache Struts 2.0.0 through 2.3.4 does not properly validate the token name configuration parameter, which allows remote attackers to perform cross-site request forgery (CSRF) attacks by setting the token name configuration parameter to a session attribute.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.struts » struts2-core
>= 2.0.0, < 2.3.4.1
2.3.4.1

Blast radius

1affected artifacts
27affected versions
218dependent artifacts (est.)
1,888dependent versions

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

DepthDependent versions
Direct
844
2 hops
769
3 hops
271
4 hops
4

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.

References

Advisorynvd.nist.gov
Webexchange.xforce.ibmcloud.com
Webissues.apache.org
Webstruts.apache.org
Webopenwall.com
Webopenwall.com