vulnerability
Ruby on Rails: Use of Insufficiently Random Values (CVE-2019-5420)
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 8 | (AV:N/AC:L/Au:N/C:P/I:P/A:P) | Mar 27, 2019 | Jan 3, 2020 | Nov 8, 2023 |
Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
Mar 27, 2019
Added
Jan 3, 2020
Modified
Nov 8, 2023
Description
A remote code execution vulnerability in development mode Rails <5.2.2.1, <6.0.0.beta3 can allow an attacker to guess the automatically generated development mode secret token. This secret token can be used in combination with other Rails internals to escalate to a remote code execution exploit.
Solution
ruby-on-rails-upgrade-5_2_2_1
References
- CVE-2019-5420
- https://attackerkb.com/topics/CVE-2019-5420
- URL-http://packetstormsecurity.com/files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-secret_key_base-Remote-Code-Execution.html
- URL-https://groups.google.com/forum/#%21topic/rubyonrails-security/IsQKvDqZdKw
- URL-https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/
- URL-https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/
- URL-https://www.exploit-db.com/exploits/46785/
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.