Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in NodeBB - CVE-2022-36045

 

Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in NodeBB - CVE-2022-36045

Published: August 24, 2022


Vulnerability identifier: #VU66746
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-36045
CWE-ID: CWE-338
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise the affected application.

The vulnerability exists due to usage of weak pseudo-random number generator within the utils.generateUUID function. A remote attacker can use multiple invocations of the password reset functionality to correctly calculate the reset code and take over an arbitrary account on the website.


Affected software

NodeBB

How to mitigate CVE-2022-36045

Install updates from vendor's website.

NodeBB - addressed in versions 1.19.8, 2.0.1

External References

Related Security Bulletins