{ "id": "CVE-2019-5420", "sourceIdentifier": "support@hackerone.com", "published": "2019-03-27T14:29:01.720", "lastModified": "2021-11-03T18:19:03.313", "vulnStatus": "Analyzed", "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." }, { "lang": "es", "value": "Una vulnerabilidad de ejecuci\u00f3n remota de c\u00f3digo en el modo de desarrollo de Rails, en versiones anteriores a la 5.2.2.1 y la 6.0.0.beta3, podr\u00eda permitir que un atacante adivine el token secreto del modo de desarrollo generado autom\u00e1ticamente. Este token secreto puede emplearse en combinaci\u00f3n con otros internals de Rails para escalar a un exploit de ejecuci\u00f3n remota de c\u00f3digo." } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL" }, "exploitabilityScore": 3.9, "impactScore": 5.9 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 7.5 }, "baseSeverity": "HIGH", "exploitabilityScore": 10.0, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-330" } ] }, { "source": "support@hackerone.com", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-77" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*", "versionEndExcluding": "5.2.2.1", "matchCriteriaId": "E0F04AF9-16F6-4E06-A273-1350DA7E42D4" }, { "vulnerable": true, "criteria": "cpe:2.3:a:rubyonrails:rails:6.0.0:beta1:*:*:*:*:*:*", "matchCriteriaId": "A6484A59-C742-4ADC-B57F-3D51CEC351BA" }, { "vulnerable": true, "criteria": "cpe:2.3:a:rubyonrails:rails:6.0.0:beta2:*:*:*:*:*:*", "matchCriteriaId": "64F85321-5D75-4E0F-820D-22F393BAAEBD" } ] } ] }, { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*", "matchCriteriaId": "C11E6FB0-C8C0-4527-9AA0-CB9B316F8F43" }, { "vulnerable": true, "criteria": "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*", "matchCriteriaId": "97A4B8DF-58DA-4AB6-A1F9-331B36409BA3" } ] } ] } ], "references": [ { "url": "http://packetstormsecurity.com/files/152704/Ruby-On-Rails-DoubleTap-Development-Mode-secret_key_base-Remote-Code-Execution.html", "source": "support@hackerone.com", "tags": [ "Exploit", "Third Party Advisory", "VDB Entry" ] }, { "url": "https://groups.google.com/forum/#!topic/rubyonrails-security/IsQKvDqZdKw", "source": "support@hackerone.com", "tags": [ "Mitigation", "Patch", "Third Party Advisory" ] }, { "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Y43636TH4D6T46IC6N2RQVJTRFJAAYGA/", "source": "support@hackerone.com", "tags": [ "Mailing List", "Third Party Advisory" ] }, { "url": "https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/", "source": "support@hackerone.com", "tags": [ "Patch", "Vendor Advisory" ] }, { "url": "https://www.exploit-db.com/exploits/46785/", "source": "support@hackerone.com", "tags": [ "Exploit", "Third Party Advisory", "VDB Entry" ] } ] }