Vulnerability identifier: #VU28244
Vulnerability risk: Low
CVSSv4.0: 2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/U:Clear]
CVE-ID: CVE-2020-8166
CWE-ID:
CWE-352
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
actionpack
Web applications /
Modules and components for CMS
Vendor: Ruby
Description
The vulnerability allows a remote attacker to perform cross-site request forgery attacks.
The vulnerability exists due to insufficient validation of the HTTP request origin in the "authenticity_token" meta tag. A remote attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
actionpack: 5.0.0.racecar1 - 5.0.7.2, 5.1.0 rc1 - 5.1.7, 5.2.0 rc1 - 5.2.4.2, 6.0.0 rc1 - 6.0.3
External links
https://snyk.io/vuln/SNYK-RUBY-ACTIONPACK-569599
https://github.com/rails/rails/commit/d124f19287f4892c72ca54da728a781591c6fca1
https://groups.google.com/forum/#!topic/rubyonrails-security/NOjKiGeXUgw
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.