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?
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 2019
- CVE-2019-5414If an attacker can control the port, which in itself is a ve…
- CVE-2019-5415A bug in handling the ignore files and directories feature i…7.5
- CVE-2019-5416A path traversal vulnerability in localhost-now npm package …
- CVE-2019-5417A path traversal vulnerability in serve npm package version …
- CVE-2019-5418There is a File Content Disclosure vulnerability in Action V…7.5
- CVE-2019-5419There is a possible denial of service vulnerability in Actio…7.5
- CVE-2019-5421Plataformatec Devise version 4.5.0 and earlier, using the lo…9.8
- CVE-2019-5422XSS in buttle npm package version 0.2.0 causes execution of …
- CVE-2019-5423Path traversal vulnerability in http-live-simulator npm pack…
- CVE-2019-5424In Ubiquiti Networks EdgeSwitch X v1.1.0 and prior, a privil…8.8
- CVE-2019-5425In Ubiquiti Networks EdgeSwitch X v1.1.0 and prior, an authe…
- CVE-2019-5426In Ubiquiti Networks EdgeSwitch X v1.1.0 and prior, an unaut…4.8
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
