MODERATE

CVE-2013-4310

Apache Struts2 Broken Access Control Vulnerability

Description

The Struts 2 action mapping mechanism supports the special parameter prefix action: which is intended to help with attaching navigational information to buttons within forms, under certain conditions this can be used to bypass security constraints.

In Struts 2.3.15.3 the action mapping mechanism was changed to avoid circumventing security constraints. Two additional constants were introduced to steer behaviour of DefaultActionMapper:

  • struts.mapper.action.prefix.enabled - when set to false support for "action:" prefix is disabled, set to false by default
  • struts.mapper.action.prefix.crossNamespaces - when set to false, actions defined with "action:" prefix must be in the same namespace as current action

Affected Maven artifacts (1)

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

Blast radius

1affected artifacts
40affected versions
264dependent artifacts (est.)
10,682dependent versions

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

DepthDependent versions
Direct
1,322
2 hops
4,719
3 hops
3,538
4 hops
1,103

Most used dependents

Computed from the dependency graph of build 20261201.0702 (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
Packagegithub.com
Webgithub.com
Webstruts.apache.org