ADVISORIES

GitHub Advisory Database

GHSA-rpj9-r897-wc6q

Open redirect in Apache Struts

Moderate CVE-2013-2248

Details

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 packages

EcosystemPackageAffected versions
Mavenorg.apache.struts:struts2-core
All versions before 2.3.15.1 (fixed in 2.3.15.1)

References