First published: Wed Mar 27 2019(Updated: )
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.
Credit: support@hackerone.com
Affected Software | Affected Version | How to fix |
---|---|---|
Rubyonrails Rails | <5.2.2.1 | |
Rubyonrails Rails | =6.0.0-beta1 | |
Rubyonrails Rails | =6.0.0-beta2 | |
Debian Debian Linux | =8.0 | |
Fedoraproject Fedora | =30 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2019-5420 is a remote code execution vulnerability in development mode Rails <5.2.2.1 <6.0.0.beta3.
The severity of CVE-2019-5420 is critical with a CVSS score of 9.8.
CVE-2019-5420 allows an attacker to guess the automatically generated development mode secret token and use it to escalate to a remote code execution exploit.
Ruby on Rails versions prior to 5.2.2.1 and 6.0.0.beta3 are affected by CVE-2019-5420.
To fix CVE-2019-5420, update Ruby on Rails to version 5.2.2.1 or later, or 6.0.0.beta3 or later.