CVE-2019-5420

rubygem-rails: Weak secret token leading to possible code execution

Published Mar 27, 2019 CVSS 3.1 · 9.8 Critical EPSS 89.3% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-m42h-mh85-4qgc Use of Insufficiently Random Values in Railties Allows Remote Code Execution
History

No history.

Weaknesses
  • CWE-330

    Use of Insufficiently Random Values

  • CWE-338

    Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Aug 4, 2024, 7:54 PM
Reserved
Jan 4, 2019, 12:00 AM
Status
Modified
Published
Mar 27, 2019, 2:29 PM
Modified
Jun 17, 2026, 2:37 AM
Severity
Moderate
Public date
Mar 13, 2019, 12:00 AM