MODERATE

CVE-2013-2248

Open redirect in Apache Struts

Description

The Struts 2 DefaultActionMapper used to support a method for short-circuit navigation state changes by prefixing parameters with "redirect:" or "redirectAction:", followed by a desired redirect target expression. This mechanism was intended to help with attaching navigational information to buttons within forms. Attackers could use this to redirect to arbitrary web sites and conduct phishing attacks.

In Struts 2 before 2.3.15.1 the information following "redirect:" or "redirectAction:" can easily be manipulated to redirect to an arbitrary location.

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.

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webgithub.com
Webissues.apache.org
Webstruts.apache.org