Vulnerabilities · 2008 · Php
CVE-2008-4107
Php vulnerability
The (1) rand and (2) mt_rand functions in PHP 5.2.6 do not produce cryptographically strong random numbers, which allows attackers to leverage exposures in products that rely on these functions for security-relevant functionality, as demonstrated by the password-reset functionality in Joomla! 1.5.x and WordPress before 2.6.2, a different vulnerability than CVE-2008-2107, CVE-2008-2108, and CVE-2008-4102.
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
- secunia.com/advisories/31737 · Vendor Advisory
- secunia.com/advisories/31870 · Vendor Advisory
- marc.info/?l=oss-security&m=122152830017099&w=2
- osvdb.org/48700
- securityreason.com/securityalert/4271
- securitytracker.com/id?1020869
- wordpress.org/development/2008/09/wordpress-262/
- www.openwall.com/lists/oss-security/2008/09/11/6
- nvd.nist.gov/vuln/detail/CVE-2008-4107
- cve.org/CVERecord?id=CVE-2008-4107
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.