CVE-2008-2107
HIGH
7.5
CVSS 2.0
Description
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.
Affected products and versions
- PHP — Up to and including 4.4.7
- PHP versions 5, 5.0.0beta1, 5.0.0beta2, 5.0.0beta3, 5.0.0rc1, 5.0.0rc2, 5.0.0rc3, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.1.4, 5.1.5, 5.1.6, 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.2.4
References
- archives.neohapsis.com http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html Exploit
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00001.html
- secunia.com http://secunia.com/advisories/30757
- secunia.com http://secunia.com/advisories/30828
- secunia.com http://secunia.com/advisories/30967
- secunia.com http://secunia.com/advisories/31119
- secunia.com http://secunia.com/advisories/31124
- secunia.com http://secunia.com/advisories/31200
- secunia.com http://secunia.com/advisories/32746
- secunia.com http://secunia.com/advisories/35003
- security.gentoo.org http://security.gentoo.org/glsa/glsa-200811-05.xml
- securityreason.com http://securityreason.com/securityalert/3859
- www.debian.org http://www.debian.org/security/2009/dsa-1789
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2008:125
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2008:126
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2008:127
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2008:128
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2008:129
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2008:130
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2008-0505.html
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2008-0544.html
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2008-0545.html
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2008-0546.html
- www.redhat.com http://www.redhat.com/support/errata/RHSA-2008-0582.html
- www.securityfocus.com http://www.securityfocus.com/archive/1/491683/100/0/threaded
- www.sektioneins.de http://www.sektioneins.de/advisories/SE-2008-02.txt Exploit
- www.ubuntu.com http://www.ubuntu.com/usn/usn-628-1
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/42226
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/42284
- oval.cisecurity.org https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10644
- www.redhat.com https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html
- www.redhat.com https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html
- nvd.nist.gov Official NVD record