CVE-2008-2108

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 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.

Category

9.8
CVSS
Severity: Critical
CVSS 3.1 •
CVSS 2.0 •
EPSS 4.74% Top 15%
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 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 mailing list
http://secunia.com/advisories/32746 third party advisory broken link
http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html broken link mailing list exploit
http://security.gentoo.org/glsa/glsa-200811-05.xml third party advisory vendor advisory
http://www.redhat.com/support/errata/RHSA-2008-0546.html vendor advisory broken link
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html vendor advisory mailing list
http://secunia.com/advisories/30828 third party advisory broken link
http://www.mandriva.com/security/advisories?name=MDVSA-2008:128 vendor advisory broken link
http://securityreason.com/securityalert/3859 third party advisory mailing list
http://www.redhat.com/support/errata/RHSA-2008-0582.html vendor advisory broken link
http://www.ubuntu.com/usn/usn-628-1 third party advisory vendor advisory
http://www.redhat.com/support/errata/RHSA-2008-0545.html vendor advisory broken link
https://exchange.xforce.ibmcloud.com/vulnerabilities/42226 third party advisory vdb entry
http://secunia.com/advisories/31124 third party advisory broken link
http://secunia.com/advisories/31119 third party advisory broken link
http://www.mandriva.com/security/advisories?name=MDVSA-2008:129 vendor advisory broken link
http://secunia.com/advisories/31200 third party advisory broken link
http://secunia.com/advisories/30757 third party advisory broken link
http://www.redhat.com/support/errata/RHSA-2008-0544.html vendor advisory broken link
http://secunia.com/advisories/35003 third party advisory broken link
http://www.mandriva.com/security/advisories?name=MDVSA-2008:125 vendor advisory broken link
http://www.redhat.com/support/errata/RHSA-2008-0505.html vendor advisory broken link
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10844 signature vdb entry broken link
http://www.mandriva.com/security/advisories?name=MDVSA-2008:130 vendor advisory broken link
http://www.mandriva.com/security/advisories?name=MDVSA-2008:126 vendor advisory broken link
http://www.securityfocus.com/archive/1/491683/100/0/threaded broken link mailing list third party advisory vdb entry
http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 vendor advisory broken link
http://www.sektioneins.de/advisories/SE-2008-02.txt broken link exploit
http://www.debian.org/security/2009/dsa-1789 vendor advisory mailing list

Frequently Asked Questions

What is the severity of CVE-2008-2108?
CVE-2008-2108 has been scored as a critical severity vulnerability.
How to fix CVE-2008-2108?
To fix CVE-2008-2108, 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-2108 being actively exploited in the wild?
It is possible that CVE-2008-2108 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~5% 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.