-
-
Notifications
You must be signed in to change notification settings - Fork 221
/
CVE-2023-28362.yml
35 lines (28 loc) · 1.22 KB
/
CVE-2023-28362.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
gem: actionpack
framework: rails
cve: 2023-28362
ghsa: 4g8v-vg43-wpgf
url: https://discuss.rubyonrails.org/t/cve-2023-28362-possible-xss-via-user-supplied-values-to-redirect-to/83132
title: Possible XSS via User Supplied Values to redirect_to
date: 2023-06-26
description: |
The redirect_to method in Rails allows provided values to contain characters
which are not legal in an HTTP header value. This results in the potential for
downstream services which enforce RFC compliance on HTTP response headers to
remove the assigned Location header. This vulnerability has been assigned the
CVE identifier CVE-2023-28362.
Versions Affected: All. Not affected: None Fixed Versions: 7.0.5.1, 6.1.7.4
# Impact
This introduces the potential for a Cross-site-scripting (XSS) payload to be
delivered on the now static redirection page. Note that this both requires
user interaction and for a Rails app to be configured to allow redirects to
external hosts (defaults to false in Rails >= 7.0.x).
# Releases
The FIXED releases are available at the normal locations.
# Workarounds
Avoid providing user supplied URLs with arbitrary schemes to the redirect_to
method.
patched_versions:
- "~> 6.1.7.4"
- ">= 7.0.5.1"