{"id":"CVE-2019-5420","state":"PUBLISHED","title":"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. Thi","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.","publishedAt":"2019-03-27T13:48:13.000Z","updatedAt":"2024-08-04T19:54:53.584Z","severity":null,"assigner":"hackerone","products":["Rails https://github.com/rails/rails"],"affected":[{"vendor":"Rails","product":"https://github.com/rails/rails","versions":[{"version":"5.2.2.1","status":"affected"},{"version":"6.0.0.beta3","status":"affected"}]}],"references":["https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/","https://groups.google.com/forum/#%21topic/rubyonrails-security/IsQKvDqZdKw","http://packetstormsecurity.com/files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-secret_key_base-Remote-Code-Execution.html","https://www.exploit-db.com/exploits/46785/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/"],"weaknesses":["CWE-77"],"ingestedAt":"2026-10-29T19:46:04.126Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/5xxx/CVE-2019-5420.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-5420","state":"PUBLISHED","datePublished":"2019-03-27T13:48:13.000Z","dateUpdated":"2024-08-04T19:54:53.584Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2019-01-04T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"Rails","product":"https://github.com/rails/rails","versions":[{"version":"5.2.2.1","status":"affected"},{"version":"6.0.0.beta3","status":"affected"}]}],"references":[{"url":"https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/","tags":["x_refsource_CONFIRM"]},{"url":"https://groups.google.com/forum/#%21topic/rubyonrails-security/IsQKvDqZdKw","tags":["x_refsource_CONFIRM"]},{"url":"http://packetstormsecurity.com/files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-secret_key_base-Remote-Code-Execution.html","tags":["x_refsource_MISC"]},{"url":"https://www.exploit-db.com/exploits/46785/","name":"46785","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/","name":"FEDORA-2019-1cfe24db5c","tags":["vendor-advisory","x_refsource_FEDORA"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","description":"Command Injection - Generic (CWE-77)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"hackerone","dateUpdated":"2019-05-10T02:06:01.000Z","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1"},"datePublic":"2019-03-13T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","ID":"CVE-2019-5420","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"https://github.com/rails/rails","version":{"version_data":[{"version_value":"5.2.2.1"},{"version_value":"6.0.0.beta3"}]}}]},"vendor_name":"Rails"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Command Injection - Generic (CWE-77)"}]}]},"references":{"reference_data":[{"name":"https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/","refsource":"CONFIRM","url":"https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/"},{"name":"https://groups.google.com/forum/#!topic/rubyonrails-security/IsQKvDqZdKw","refsource":"CONFIRM","url":"https://groups.google.com/forum/#!topic/rubyonrails-security/IsQKvDqZdKw"},{"name":"http://packetstormsecurity.com/files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-secret_key_base-Remote-Code-Execution.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-secret_key_base-Remote-Code-Execution.html"},{"name":"46785","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/46785/"},{"name":"FEDORA-2019-1cfe24db5c","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://groups.google.com/forum/#%21topic/rubyonrails-security/IsQKvDqZdKw","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://packetstormsecurity.com/files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-secret_key_base-Remote-Code-Execution.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/46785/","name":"46785","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/","name":"FEDORA-2019-1cfe24db5c","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T19:54:53.584Z"}}]}}}