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.
Metrics
Affected Vendors & Products
References
History
No history.

Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-07T08:49:57.790Z
Reserved: 2008-05-07T00:00:00
Link: CVE-2008-2108

No data.

Status : Deferred
Published: 2008-05-07T21:20:00.000
Modified: 2025-04-09T00:30:58.490
Link: CVE-2008-2108
