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, 77.2th percentile (scored ); unchanged over 30 days. About EPSS.
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 exploits and proof-of-concept code
Also mentioned in 3 other repositories (0x4242424243434343/0x4242424243434343, 20142995/nuclei-templates, cyb3r-w0lf/nuclei-template-collection). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- hackerone.com/reports/732415 (Exploit, Third Party Advisory)
- groups.google.com/g/rubyonrails-security/c/NOjKiGeXUgw (Patch, Mailing List, Third Party Advisory)
- DSA-4766 (vendor-advisory, Third Party Advisory)