CRITICAL 9.8

CVE-2013-2251

Code injection in Apache Struts

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

Description

The Struts 2 DefaultActionMapper supports a method for short-circuit navigation state changes by prefixing parameters with "action:" or "redirect:", followed by a desired navigational target expression. This mechanism was intended to help with attaching navigational information to buttons within forms.

In Struts 2 before 2.3.15.1 the information following "action:", "redirect:" or "redirectAction:" is not properly sanitized. Since said information will be evaluated as OGNL expression against the value stack, this introduces the possibility to inject server side code.

Affected Maven artifacts (1)

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

Blast radius

1affected artifacts
38affected versions
255dependent artifacts (est.)
10,581dependent versions

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

DepthDependent versions
Direct
1,272
2 hops
4,679
3 hops
3,527
4 hops
1,103

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.