Vulnerabilities · 2008 · Php
CVE-2008-2107
Php vulnerability
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
Php. 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
- archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html · Exploit
- www.sektioneins.de/advisories/SE-2008-02.txt · Exploit
- lists.opensuse.org/opensuse-security-announce/2008-07/msg00001.html
- secunia.com/advisories/30757
- secunia.com/advisories/30828
- secunia.com/advisories/30967
- secunia.com/advisories/31119
- secunia.com/advisories/31124
- nvd.nist.gov/vuln/detail/CVE-2008-2107
- cve.org/CVERecord?id=CVE-2008-2107
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.