CSRF in Rubyonrails Rails
CVE-2020-8166
A CSRF forgery vulnerability exists in rails < 5.2.5, rails < 6.0.4 that makes it possible for an attacker to, given a global CSRF token such as the one present in the authenticity_token meta tag, forge a per-form CSRF token.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.017 (75.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 76th percentile — 75.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: 0.000
Affected products
- Rubyonrails Rails
- Debian Linux — versions 10.0
- Https://github.com/rails/rails — versions Fixed in 5.2.4.3, 6.0.3.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- hackerone.com/reports/732415 (Exploit, Third Party Advisory)
- groups.google.com/g/rubyonrails-security/c/NOjKiGeXUgw (Patch, Mailing List, Third Party Advisory)
- www.debian.org/security/2020/dsa-4766 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-8166?
- CVE-2020-8166 is a medium-severity vulnerability in Rubyonrails Rails, classified under Cross-Site Request Forgery (CSRF). CVSS score: 4.3/10. Published 2020-07-02.
- How severe is CVE-2020-8166?
- Medium severity. CVSS v3 base score is 4.3 out of 10.
- Is CVE-2020-8166 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.