Skip to main content
← All vulnerabilities
CVE-2019-5420GHSA-M42H-MH85-4QGC

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 gene

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.2.2.1
1 on Exploit-DB, 1 Metasploit module, 12 proofs of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Public exploit on Exploit-DB

    EDB-46785

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • Rails https://github.com/rails/rails

    5.2.2.1, 6.0.0.beta3

  • railtiesRubyGems

    From 5.2.0 · fixed in 5.2.2.1

References 19

weblog.rubyonrails.org

groups.google.com

packetstormsecurity.com

Exploit-DB

lists.fedoraproject.org

GitHub · rapid7/metasploit-framework

GitHub · AnasTaoutaou/CVE-2019-5420

GitHub · Eremiel/CVE-2019-5420

GitHub · PenTestical/CVE-2019-5420

GitHub · WildWestCyberSecurity/cve-2019-5420-POC

GitHub · cved-sources/cve-2019-5420

GitHub · j4k0m/CVE-2019-5420

GitHub · knqyf263/CVE-2019-5420

GitHub · laffray/ruby-RCE-CVE-2019-5420-

GitHub · mmeza-developer/CVE-2019-5420-RCE

GitHub · scumdestroy/CVE-2019-5420.rb

GitHub · sealldeveloper/CVE-2019-5420-PoC

GitHub · trickstersec/CVE-2019-5420