{"id":"CVE-2019-5440","state":"PUBLISHED","title":"Use of cryptographically weak PRNG in the password recovery token generation of Revive Adserver < v4.2.1 causes a potential authentication bypass attack if an attacker exploits the","description":"Use of cryptographically weak PRNG in the password recovery token generation of Revive Adserver < 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.","publishedAt":"2019-05-28T18:41:05.000Z","updatedAt":"2024-08-04T19:54:53.582Z","severity":null,"assigner":"hackerone","products":["Revive Revive Adserver"],"affected":[{"vendor":"Revive","product":"Revive Adserver","versions":[{"version":"Fixed in 4.2.1","status":"affected"}]}],"references":["https://hackerone.com/reports/576504"],"weaknesses":["CWE-338"],"ingestedAt":"2026-10-29T19:46:04.126Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/5xxx/CVE-2019-5440.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-5440","state":"PUBLISHED","datePublished":"2019-05-28T18:41:05.000Z","dateUpdated":"2024-08-04T19:54:53.582Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2019-01-04T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Use of cryptographically weak PRNG in the password recovery token generation of Revive Adserver < 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."}],"affected":[{"vendor":"Revive","product":"Revive Adserver","versions":[{"version":"Fixed in 4.2.1","status":"affected"}]}],"references":[{"url":"https://hackerone.com/reports/576504","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-338","description":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) (CWE-338)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"hackerone","dateUpdated":"2019-05-30T14:07:45.000Z","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1"},"datePublic":"2019-05-21T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","ID":"CVE-2019-5440","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Revive Adserver","version":{"version_data":[{"version_value":"Fixed in 4.2.1"}]}}]},"vendor_name":"Revive"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Use of cryptographically weak PRNG in the password recovery token generation of Revive Adserver < 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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) (CWE-338)"}]}]},"references":{"reference_data":[{"name":"https://hackerone.com/reports/576504","refsource":"MISC","url":"https://hackerone.com/reports/576504"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://hackerone.com/reports/576504","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T19:54:53.582Z"}}]}}}