Vulnerabilities · 2019 · Rubyonrails
CVE-2019-5420
Rubyonrails Rails vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Rails, Debian Linux, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Rubyonrails Rails runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/ · Patch
- packetstormsecurity.com/files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-secret_key_b · Exploit
- www.exploit-db.com/exploits/46785/ · Exploit
- groups.google.com/forum/#%21topic/rubyonrails-security/IsQKvDqZdKw
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y
- nvd.nist.gov/vuln/detail/CVE-2019-5420
- cve.org/CVERecord?id=CVE-2019-5420
More vulnerabilities in Rubyonrails products
CVE-2024-53989CVE-2024-53988CVE-2024-53987CVE-2024-53986CVE-2024-53985CVE-2024-32464CVE-2024-28103CVE-2024-26144All 134
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.