apache/struts · Security

Open redirect in Apache Struts

GHSA ID
GHSA-rpj9-r897-wc6q
CVE ID
CVE-2013-2248
Severity
medium
Published
Updated

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.

CWEs

References