Patchfirst
CVE-2019-5420 Public exploit EPSS 89.3%

A remote code execution vulnerability in development mode Rails <5.2.2.1, <6.0.0.beta3 can allow an attacker to guess…

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

Summary

A remote code execution flaw in the development mode of Rails (versions before 5.2.2.1 and 6.0.0.beta3) lets an attacker guess the automatically generated development secret token, a weakness classed as command injection. The attacker needs only to reach a Rails application running in development mode, and the guessed token can then be combined with other Rails internals to achieve remote code execution.

Official description · CVE.org

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.

Breakdown
25.6 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (Metasploit) was available 14 days before disclosure.

  1. Public exploit codeMetasploit14 days before
  2. Disclosedday 0

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: railties.

RubyGemsrailtiesGHSA-m42h-mh85-4qgc

Upgrade to 5.2.2.1 or later

Gemfilegem "railties", ">= 5.2.2.1"

The first fix for CVE-2019-5420. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
5.2.0 up to 5.2.2.15.2.2.1

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 1 community threat pulse (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

5 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close