Lucene search

K
githubGitHub Advisory DatabaseGHSA-RPJ9-R897-WC6Q
HistoryMay 17, 2022 - 3:13 a.m.

Open redirect in Apache Struts

2022-05-1703:13:10
CWE-20
GitHub Advisory Database
github.com
13

5.8 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:P/A:N

0.972 High

EPSS

Percentile

99.8%

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 configurations

Vulners
Node
org.apache.struts\struts2Matchcore

5.8 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:P/A:N

0.972 High

EPSS

Percentile

99.8%