CVE-2019-5420
Last modified
CVE-2019-5420 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 92.14% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Rubyonrails | Rails | < 5.2.2.1 | — |
| Rubyonrails | Rails | 6.0.0 | Beta1 |
| Debian | Debian Linux | 8.0 | — |
| Fedoraproject | Fedora | 30 | — |
References
- http://packetstormsecurity.com/files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-secret_key_base-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/Patch, Vendor Advisory
- https://www.exploit-db.com/exploits/46785/Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-secret_key_base-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/Patch, Vendor Advisory
- https://www.exploit-db.com/exploits/46785/Exploit, Third Party Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-5420?
How severe is CVE-2019-5420?
How do I fix CVE-2019-5420?
Are you affected by CVE-2019-5420?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
