Vulnerability in PHP
CVE-2008-2107
The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 32-bit systems, performs a multiplication using values that can produce a zero seed in rare circumstances, which allows context-dependent attackers to predict subsequent values of the rand and mt_rand functions and possibly bypass protection mechanisms that rely on an unknown initial seed.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.034, 89.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 5, 5.0.0, 5.0.1
Weakness classification (CWE)
References
- FEDORA-2008-3606 (vendor-advisory)
- secunia.com/advisories/32746 (third-party-advisory)
- 20080506 Advisory SE-2008-02: PHP GENERATE_SEED() Weak Random Number Seed Vulnerability (mailing-list, Exploit)
- GLSA-200811-05 (vendor-advisory)
- RHSA-2008:0546 (vendor-advisory)
- FEDORA-2008-3864 (vendor-advisory)
- secunia.com/advisories/30828 (third-party-advisory)
- MDVSA-2008:128 (vendor-advisory)
- securityreason.com/securityalert/3859 (third-party-advisory)
- RHSA-2008:0582 (vendor-advisory)