Predictable Seed in Pseudo-Random Number Generator (PRNG) in Firefox for Android and Mozilla Firefox - CVE-2024-4772

 

Predictable Seed in Pseudo-Random Number Generator (PRNG) in Firefox for Android and Mozilla Firefox - CVE-2024-4772

Published: May 15, 2024


Vulnerability identifier: #VU89554
CSH Severity: Low
CVSS v4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-4772
CWE-ID: CWE-337
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication.

The vulnerability exists due to Firefox uses an insecure rand() function to generate nonce for HTTP digest authentication. A remote attacker can guess nonce and potentially gain unauthorized access to the victim's session.


Affected software

Firefox for Android
Mozilla Firefox
Gentoo Linux
Ubuntu
openEuler
Fedora
www-client/firefox
firefox (Ubuntu package)
firefox
firefox-debuginfo
firefox-debugsource

How to mitigate CVE-2024-4772

Install updates from vendor's website.

Firefox for Android - update to 126.0
Mozilla Firefox - update to 126.0
www-client/firefox - update to 104
firefox (Ubuntu package) - addressed in versions 126.0+build2-0ubuntu0.20.04.1, 126.0.1+build1-0ubuntu0.20.04.1
firefox - addressed in versions 126.0-5.fc38, 126.0-5.fc39, 126.0-5.fc40
firefox - update to 128.8.0-1
firefox-debuginfo - update to 128.8.0-1
firefox-debugsource - update to 128.8.0-1

External References

Related Security Bulletins