Vulnerabilities · 2008 · Php
CVE-2008-2108
Php vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Php, Fedora, Ubuntu Linux, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- security.gentoo.org/glsa/glsa-200811-05.xml · Third Party Advisory
- www.securityfocus.com/archive/1/491683/100/0/threaded · Third Party Advisory
- www.ubuntu.com/usn/usn-628-1 · Third Party Advisory
- exchange.xforce.ibmcloud.com/vulnerabilities/42226 · Third Party Advisory
- archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html · Exploit
- www.sektioneins.de/advisories/SE-2008-02.txt · Exploit
- secunia.com/advisories/30757
- secunia.com/advisories/30828
- nvd.nist.gov/vuln/detail/CVE-2008-2108
- cve.org/CVERecord?id=CVE-2008-2108
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.