XSS in Rack
CVE-2018-16471
There is a possible XSS vulnerability in Rack before 2.0.6 and 1.6.11. Carefully crafted requests can impact the data returned by the `scheme` method on `Rack::Request`. Applications that expect the scheme to be limited to 'http' or 'https' and do not escape the return value could be vulnerable to an XSS attack. Note that applications using the normal escaping mechanisms provided by Rails may not impacted, but applications that bypass the escaping mechanisms, or do not use them may be vulnerable.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.019, 79.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rack — versions 2.0.6, 1.6.11
- Rack Project
- Debian Linux — versions 8.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (gersteinlab/STRESS, gersteinlab/STRESSserver). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- groups.google.com/forum/
- [debian-lts-announce] 20181121 [SECURITY] [DLA 1585-1] ruby-rack security update (mailing-list, Mailing List, Third Party Advisory)
- openSUSE-SU-2019:1553 (vendor-advisory)
- USN-4089-1 (vendor-advisory)
- openSUSE-SU-2020:0214 (vendor-advisory)