CVE-2020-8166
Last modified
CVE-2020-8166 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. 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.. EPSS estimates a 1.67% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Rails | < 5.2.4.3 |
| Rubyonrails | Rails | >= 6.0.0, < 6.0.3.1 |
| Debian | Debian Linux | 10.0 |
References
- https://groups.google.com/g/rubyonrails-security/c/NOjKiGeXUgwMailing List, Patch, Third Party Advisory
- https://hackerone.com/reports/732415Exploit, Third Party Advisory
- https://www.debian.org/security/2020/dsa-4766Third Party Advisory
- https://groups.google.com/g/rubyonrails-security/c/NOjKiGeXUgwMailing List, Patch, Third Party Advisory
- https://hackerone.com/reports/732415Exploit, Third Party Advisory
- https://www.debian.org/security/2020/dsa-4766Third Party Advisory
- https://hackerone.com/reports/732415Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-8166?
How severe is CVE-2020-8166?
How do I fix CVE-2020-8166?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-8160MendixSSO <= 2.1.1 contains endpoints that make use of the o…6.1
- CVE-2020-8161A directory traversal vulnerability exists in rack < 2.2.0 t…8.6
- CVE-2020-8162A client side enforcement of server side security vulnerabil…7.5
- CVE-2020-8163The is a code injection vulnerability in versions of Rails p…8.8
- CVE-2020-8164A deserialization of untrusted data vulnerability exists in …7.5
- CVE-2020-8165A deserialization of untrusted data vulnernerability exists …9.8
- CVE-2020-8167A CSRF vulnerability exists in rails <= 6.0.3 rails-ujs modu…6.5
- CVE-2020-8168We have recently released new version of AirMax AirOS firmwa…8.8
- CVE-2020-8169curl 7.62.0 through 7.70.0 is vulnerable to an information d…7.5
- CVE-2020-8170We have recently released new version of AirMax AirOS firmwa…6.1
- CVE-2020-8171We have recently released new version of AirMax AirOS firmwa…9.8
- CVE-2020-8172TLS session reuse can lead to host certificate verification …7.4
Are you affected by CVE-2020-8166?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
