CVE-2008-2107

PHP 32 bit weak random seed

Published May 7, 2008 CVSS 2.0 · 7.5 High EPSS 3.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-1789-1 New php5 packages fix several vulnerabilities
EUVD EUVD EUVD-2008-2104 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.
Ubuntu USN Ubuntu USN USN-628-1 PHP vulnerabilities
References
Link Providers
http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html cve-icon cve-icon
http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00001.html cve-icon cve-icon
http://secunia.com/advisories/30757 cve-icon cve-icon
http://secunia.com/advisories/30828 cve-icon cve-icon
http://secunia.com/advisories/30967 cve-icon cve-icon
http://secunia.com/advisories/31119 cve-icon cve-icon
http://secunia.com/advisories/31124 cve-icon cve-icon
http://secunia.com/advisories/31200 cve-icon cve-icon
http://secunia.com/advisories/32746 cve-icon cve-icon
http://secunia.com/advisories/35003 cve-icon cve-icon
http://security.gentoo.org/glsa/glsa-200811-05.xml cve-icon cve-icon
http://securityreason.com/securityalert/3859 cve-icon cve-icon
http://www.debian.org/security/2009/dsa-1789 cve-icon cve-icon
http://www.mandriva.com/security/advisories?name=MDVSA-2008:125 cve-icon cve-icon
http://www.mandriva.com/security/advisories?name=MDVSA-2008:126 cve-icon cve-icon
http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 cve-icon cve-icon
http://www.mandriva.com/security/advisories?name=MDVSA-2008:128 cve-icon cve-icon
http://www.mandriva.com/security/advisories?name=MDVSA-2008:129 cve-icon cve-icon
http://www.mandriva.com/security/advisories?name=MDVSA-2008:130 cve-icon cve-icon
http://www.redhat.com/support/errata/RHSA-2008-0505.html cve-icon cve-icon
http://www.redhat.com/support/errata/RHSA-2008-0544.html cve-icon cve-icon
http://www.redhat.com/support/errata/RHSA-2008-0545.html cve-icon cve-icon
http://www.redhat.com/support/errata/RHSA-2008-0546.html cve-icon cve-icon
http://www.redhat.com/support/errata/RHSA-2008-0582.html cve-icon cve-icon
http://www.securityfocus.com/archive/1/491683/100/0/threaded cve-icon cve-icon
http://www.sektioneins.de/advisories/SE-2008-02.txt cve-icon cve-icon
http://www.ubuntu.com/usn/usn-628-1 cve-icon cve-icon
https://exchange.xforce.ibmcloud.com/vulnerabilities/42226 cve-icon cve-icon
https://exchange.xforce.ibmcloud.com/vulnerabilities/42284 cve-icon cve-icon
https://nvd.nist.gov/vuln/detail/CVE-2008-2107 cve-icon
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10644 cve-icon cve-icon
https://www.cve.org/CVERecord?id=CVE-2008-2107 cve-icon
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html cve-icon cve-icon
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html cve-icon cve-icon
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 7, 2024, 8:49 AM
Reserved
May 7, 2008, 12:00 AM
Status
Modified
Published
May 7, 2008, 9:20 PM
Modified
Jun 16, 2026, 10:53 PM
Severity
Low
Public date
May 6, 2008, 12:00 AM