CWE
330 77
Advisory Published
Updated

CVE-2019-5420: Command Injection

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 support@hackerone.com

Affected SoftwareAffected VersionHow 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
<5.2.2.1
=6.0.0-beta1
=6.0.0-beta2
=8.0
=30

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2019-5420?

    CVE-2019-5420 is a remote code execution vulnerability in development mode Rails <5.2.2.1 <6.0.0.beta3.

  • What is the severity of CVE-2019-5420?

    The severity of CVE-2019-5420 is critical with a CVSS score of 9.8.

  • How does CVE-2019-5420 work?

    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.

  • Which versions of Ruby on Rails are affected by CVE-2019-5420?

    Ruby on Rails versions prior to 5.2.2.1 and 6.0.0.beta3 are affected by CVE-2019-5420.

  • How can I fix 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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203