The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 64-bit systems, performs a multiplication that generates a portion of zero bits during conversion due to insufficient precision, which produces 24 bits of entropy and simplifies brute force attacks against protection mechanisms that use the rand and mt_rand functions.
References
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Configuration 4 (hide)
|
History
No history.
Information
Published : 2008-05-07 21:20
Updated : 2024-02-15 03:29
NVD link : CVE-2008-2108
Mitre link : CVE-2008-2108
CVE.ORG link : CVE-2008-2108
JSON object : View
Products Affected
debian
- debian_linux
canonical
- ubuntu_linux
fedoraproject
- fedora
php
- php
CWE
CWE-331
Insufficient Entropy