VDB
CVE-2020-8166
CVE-2020-8166
PUBLISHED
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 0.44% · 63.7th percentile
Risk Scores
EPSS Score
0.44%
63.7th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:Pro:20.04:LTS | rails | 0, 2:5.2.2.1+dfsg-1ubuntu1, 2:5.2.3+dfsg-3 |
| Ubuntu:Pro:16.04:LTS | rails | 0, 2:4.1.10-1, 2:4.2.5.1-1 |
| Ubuntu:Pro:18.04:LTS | rails | 0, 2:4.2.9-2, 2:4.2.9-4 |
Exploit Intelligence
- https://hackerone.com/reports/732415 (nist-nvd)
- The authenticity_token can be reversed and used to forge valid per_form_csrf_tokens for arbitrary routes (hackerone)
- The authenticity_token can be reversed and used to forge valid per_form_csrf_tokens for arbitrary routes (hackerone)
- The authenticity_token can be reversed and used to forge valid per_form_csrf_tokens for arbitrary routes (hackerone)
- .bundler-audit.yml (github-poc)
- .bundler-audit.yml (github-poc)
- .bundler-audit.yml (github-poc)
- .bundler-audit.yml (github-poc)
- .bundler-audit.yml (github-poc)
- .bundler-audit.yml (github-poc)
…and 114 more exploits
Timeline
- CVE Published
- Aug 27, 2020 PoC Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 2022 EPSS Score
- Nov 6, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2020-8166 third-party-advisory
- https://weblog.rubyonrails.org/2020/5/18/Rails-5-2-4-3-and-6-0-3-1-have-been-released third-party-advisory
- https://github.com/rails/rails/commit/d124f19287f4892c72ca54da728a781591c6fca1 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2020-8166 third-party-advisory