{"id":"CVE-2019-5440","details":"Use of cryptographically weak PRNG in the password recovery token generation of Revive Adserver \u003c v4.2.1 causes a potential authentication bypass attack if an attacker exploits the password recovery functionality. In lib/OA/Dal/PasswordRecovery.php, the function generateRecoveryId() generates a password reset token that relies on the PHP uniqid function and consequently depends only on the current server time, which is often visible in an HTTP Date header.","modified":"2026-07-08T20:57:34.969348Z","published":"2019-05-28T19:29:06.190Z","references":[{"type":"EVIDENCE","url":"https://hackerone.com/reports/576504"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/revive-adserver/revive-adserver","events":[{"introduced":"0"},{"fixed":"0c98116a29bcb19dccbc8ec49d3cbb9cafd7a17b"}],"database_specific":{"cpe":"cpe:2.3:a:revive-adserver:revive_adserver:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"4.2.1"}],"source":"CPE_RANGE"}}],"versions":["v4.2.0","v4.2.0-rc1","v4.1.4","v4.1.3","v4.1.2","v4.1.0","v4.1.0-rc1","v4.0.2","v4.0.1","v4.0.0","v4.0.0-rc1","v3.2.1","v3.2.1-rc1","v3.2.0","v3.2.0-beta","v3.1.0","v3.1.0-beta","v3.0.3","v3.0.2","v3.0.1","v3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-5440.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}