RCE in Rails Https://github.com/rails/rails
CVE-2019-5420
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.893 (99.8th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 100th percentile — 99.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.921 · newest: 0.893 · change: -0.028
Affected products
- Rails Https://github.com/rails/rails — versions 5.2.2.1, 6.0.0.beta3
- Rubyonrails Rails — versions 6.0.0
- Debian Linux — versions 8.0
- Fedoraproject Fedora — versions 30
Weakness classification (CWE)
Public proof-of-concept exploits
References
- weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/ (Patch, Vendor Advisory)
- groups.google.com/forum/
- packetstormsecurity.com/files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-s… (Exploit, VDB Entry, Third Party Advisory)
- www.exploit-db.com/exploits/46785/ (Exploit, VDB Entry, Third Party Advisory, exploit)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2019-5420?
- CVE-2019-5420 is a critical-severity vulnerability in Rails Https://github.com/rails/rails, classified under Command Injection. CVSS score: 9.8/10. Published 2019-03-27.
- How severe is CVE-2019-5420?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2019-5420 known to be exploited?
- 43 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.