CVE-2008-2107

Public Exploit

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.

Category

7.5
CVSS
Severity: High
CVSS 2.0 •
EPSS 2.60% Top 20%
Vendor Advisory redhat.com Vendor Advisory gentoo.org Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory mandriva.com Vendor Advisory redhat.com Vendor Advisory ubuntu.com Vendor Advisory redhat.com Vendor Advisory mandriva.com Vendor Advisory redhat.com Vendor Advisory opensuse.org Vendor Advisory mandriva.com Vendor Advisory redhat.com Vendor Advisory mandriva.com Vendor Advisory mandriva.com Vendor Advisory mandriva.com Vendor Advisory debian.org
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html vendor advisory
http://secunia.com/advisories/32746 third party advisory
http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html mailing list exploit
http://security.gentoo.org/glsa/glsa-200811-05.xml vendor advisory
http://www.redhat.com/support/errata/RHSA-2008-0546.html vendor advisory
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html vendor advisory
http://secunia.com/advisories/30828 third party advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:128 vendor advisory
http://securityreason.com/securityalert/3859 third party advisory
http://www.redhat.com/support/errata/RHSA-2008-0582.html vendor advisory
http://www.ubuntu.com/usn/usn-628-1 vendor advisory
http://www.redhat.com/support/errata/RHSA-2008-0545.html vendor advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/42226 vdb entry
http://secunia.com/advisories/31124 third party advisory
http://secunia.com/advisories/30967 third party advisory
http://secunia.com/advisories/31119 third party advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:129 vendor advisory
http://secunia.com/advisories/31200 third party advisory
http://secunia.com/advisories/30757 third party advisory
http://www.redhat.com/support/errata/RHSA-2008-0544.html vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00001.html vendor advisory
http://secunia.com/advisories/35003 third party advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:125 vendor advisory
http://www.redhat.com/support/errata/RHSA-2008-0505.html vendor advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:130 vendor advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2008:126 vendor advisory
http://www.securityfocus.com/archive/1/491683/100/0/threaded mailing list
https://exchange.xforce.ibmcloud.com/vulnerabilities/42284 vdb entry
http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 vendor advisory
http://www.sektioneins.de/advisories/SE-2008-02.txt exploit
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10644 vdb entry signature
http://www.debian.org/security/2009/dsa-1789 vendor advisory

Frequently Asked Questions

What is the severity of CVE-2008-2107?
CVE-2008-2107 has been scored as a high severity vulnerability.
How to fix CVE-2008-2107?
To fix CVE-2008-2107, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2008-2107 being actively exploited in the wild?
It is possible that CVE-2008-2107 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~3% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.