CVE-2019-5420
CVE-2019-5420
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.8 · Critical · EPSS 89.3% · Public exploit · Fix available
- Published
- Updated
Stack: system
Affected products and versions
https://github.com/rails/rails
- Versions
- 5.2.2.1: Affected
- 6.0.0.beta3: Affected
No fix published
rails Debian:12
- Affected ranges
- ECOSYSTEM: < 2:5.2.2.1+dfsg-1
Update to 2:5.2.2.1+dfsg-1
rails Debian:13
- Affected ranges
- ECOSYSTEM: < 2:5.2.2.1+dfsg-1
Update to 2:5.2.2.1+dfsg-1
rails Debian:14
- Affected ranges
- ECOSYSTEM: < 2:5.2.2.1+dfsg-1
Update to 2:5.2.2.1+dfsg-1
Original sources
- https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/
- https://groups.google.com/forum/#%21topic/rubyonrails-security/IsQKvDqZdKw
- http://packetstormsecurity.com/files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-secret_key_base-Remote-Code-Execution.html
- https://www.exploit-db.com/exploits/46785/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/
- https://nvd.nist.gov/vuln/detail/CVE-2019-5420