CVE-2019-5420 Use of Insufficiently Random Values in Railties Allows Remote Code Execution
CriticalCVSS 9.8
EPSS 89.3%
Framework module
Public exploit
PoC
- Published
- Updated
- Exploit status
- Public exploit available
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems railties(RubyGems) | >= 5.2.0, <= 5.2.2.0 | No fix listed |
| rubygems railties(RubyGems) | >= 5.2.0, < 5.2.2.1 | 5.2.2.1 |
| rubygems railties(RubyGems) | = 5.2.0 | No fix listed |
| rubygems railties(RubyGems) | = 5.2.1 | No fix listed |
| rubygems railties(RubyGems) | = 5.2.1.1 | No fix listed |
| rubygems railties(RubyGems) | = 5.2.1.rc1 | No fix listed |
| rubygems railties(RubyGems) | = 5.2.2 | No fix listed |
| rubygems railties(RubyGems) | = 5.2.2.rc1 | No fix listed |
| debian/rails(Debian:12) | < 2:5.2.2.1+dfsg-1 | 2:5.2.2.1+dfsg-1 |
| debian/rails(Debian:13) | < 2:5.2.2.1+dfsg-1 | 2:5.2.2.1+dfsg-1 |
| debian/rails(Debian:14) | < 2:5.2.2.1+dfsg-1 | 2:5.2.2.1+dfsg-1 |
| rubyonrails rails | < 5.2.2.1 | 5.2.2.1 |
| rubyonrails rails | = 6.0.0-beta1 | No fix listed |
| rubyonrails rails | = 6.0.0-beta2 | No fix listed |
| debian linux | = 8.0 | No fix listed |
| fedoraproject fedora | = 30 | No fix listed |
| rails https://github.com/rails/rails | = 5.2.2.1 | No fix listed |
| rails https://github.com/rails/rails | = 6.0.0.beta3 | No fix listed |
References
- Debian Security Tracker CVE-2019-5420 vendor-advisory
- bugs.debian.org issue-tracking
- nvd.nist.gov third-party-advisory vendor-advisory
- groups.google.com
- lists.fedoraproject.org
- weblog.rubyonrails.org patch vendor-advisory
- 46785 exploit third-party-advisory vdb-entry
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- github.com exploit
- github.com
- FEDORA-2019-1cfe24db5c vendor-advisory