GHSA-rpj9-r897-wc6qMedium

Open redirect in Apache Struts

Published
May 17, 2022
Last Modified
December 28, 2023

🔗 CVE IDs covered (1)

📋 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 products1

  • maven/org.apache.struts:struts2-core:< 2.3.15.1

🔗 References (6)