CVE-2008-2108
CRITICAL
9.8
CVSS 3.1
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.
Affected products and versions
- PHP — From 4.0.0 (including) to 4.4.8 (excluding)
- PHP — From 5.0.0 (including) to 5.2.5 (excluding)
References
- archives.neohapsis.com http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html Broken Link, Exploit
- secunia.com http://secunia.com/advisories/30757 Broken Link
- secunia.com http://secunia.com/advisories/30828 Broken Link
- secunia.com http://secunia.com/advisories/31119 Broken Link
- secunia.com http://secunia.com/advisories/31124 Broken Link
- secunia.com http://secunia.com/advisories/31200 Broken Link
- secunia.com http://secunia.com/advisories/32746 Broken Link
- secunia.com http://secunia.com/advisories/35003 Broken Link
- security.gentoo.org http://security.gentoo.org/glsa/glsa-200811-05.xml Third Party Advisory
- securityreason.com http://securityreason.com/securityalert/3859 Mailing List
- www.debian.org http://www.debian.org/security/2009/dsa-1789 Mailing List
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2008:125 Broken Link
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2008:126 Broken Link
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 Broken Link
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2008:128 Broken Link
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2008:129 Broken Link
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2008:130 Broken Link
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2008-0505.html Broken Link
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2008-0544.html Broken Link
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2008-0545.html Broken Link
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2008-0546.html Broken Link
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2008-0582.html Broken Link
- www.securityfocus.com http://www.securityfocus.com/archive/1/491683/100/0/threaded Broken Link, Third Party Advisory, VDB Entry
- www.sektioneins.de http://www.sektioneins.de/advisories/SE-2008-02.txt Broken Link, Exploit
- www.ubuntu.com http://www.ubuntu.com/usn/usn-628-1 Third Party Advisory
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/42226 Third Party Advisory, VDB Entry
- oval.cisecurity.org https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10844 Broken Link
- www.redhat.com https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html Mailing List
- www.redhat.com https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html Mailing List
- nvd.nist.gov Official NVD record