Description
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 (29)
Core 29
Core References
Mailing List vendor-advisory
x_refsource_fedora
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html
Broken Link third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/32746
Broken Link, Exploit mailing-list
x_refsource_fulldisc
http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html
Third Party Advisory vendor-advisory
x_refsource_gentoo
http://security.gentoo.org/glsa/glsa-200811-05.xml
Broken Link vendor-advisory
x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2008-0546.html
Mailing List vendor-advisory
x_refsource_fedora
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html
Broken Link third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/30828
Broken Link vendor-advisory
x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2008:128
Mailing List third-party-advisory
x_refsource_sreason
http://securityreason.com/securityalert/3859
Broken Link vendor-advisory
x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2008-0582.html
Third Party Advisory vendor-advisory
x_refsource_ubuntu
http://www.ubuntu.com/usn/usn-628-1
Broken Link vendor-advisory
x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2008-0545.html
Third Party Advisory, VDB Entry vdb-entry
x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/42226
Broken Link third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/31124
Broken Link third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/31119
Broken Link vendor-advisory
x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2008:129
Broken Link third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/31200
Broken Link third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/30757
Broken Link vendor-advisory
x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2008-0544.html
Broken Link third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/35003
Broken Link vendor-advisory
x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2008:125
Broken Link vendor-advisory
x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2008-0505.html
Broken Link vdb-entry
signature
x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10844
Broken Link vendor-advisory
x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2008:130
Broken Link vendor-advisory
x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2008:126
Broken Link, Third Party Advisory, VDB Entry mailing-list
x_refsource_bugtraq
http://www.securityfocus.com/archive/1/491683/100/0/threaded
Broken Link vendor-advisory
x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2008:127
Broken Link, Exploit x_refsource_misc
http://www.sektioneins.de/advisories/SE-2008-02.txt
Mailing List vendor-advisory
x_refsource_debian
http://www.debian.org/security/2009/dsa-1789
Scores
CVSS v3
9.8
EPSS
0.0429
EPSS Percentile
89.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-331
Status
published
Products (8)
canonical/ubuntu_linux
6.06
canonical/ubuntu_linux
7.04
canonical/ubuntu_linux
7.10
canonical/ubuntu_linux
8.04
debian/debian_linux
4.0
fedoraproject/fedora
8
fedoraproject/fedora
9
php/php
4.0.0 - 4.4.8
Published
May 07, 2008
Tracked Since
Feb 18, 2026