#VU31058 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Revive Adserver - CVE-2019-5440

 

#VU31058 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Revive Adserver - CVE-2019-5440

Published: May 28, 2019 / Updated: July 17, 2020


Vulnerability identifier: #VU31058
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2019-5440
CWE-ID: CWE-338
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Revive Adserver
Software vendor:
OpenX Source

Description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


Remediation

Install update from vendor's website.

External links