Lucene search

K
osvGoogleOSV:GHSA-RPJ9-R897-WC6Q
HistoryMay 17, 2022 - 3:13 a.m.

Open redirect in Apache Struts

2022-05-1703:13:10
Google
osv.dev
15
apache struts
defaultactionmapper
open redirect

EPSS

0.969

Percentile

99.7%

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.