CVE-2008-4107
MEDIUM
5.1
CVSS 2.0
Description
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 and versions
- PHP — Up to and including 4.4.8
- PHP — Up to and including 5.2.5
- PHP versions 4.0.0, 4.0.1, 4.0.1patch1, 4.0.1patch2, 4.0.2, 4.0.3patch1, 4.0.4patch1, 4.0.5, 4.0.6, 4.0.7, 4.0.7rc2, 4.0.7rc3, 4.0.7rc4, 4.0beta1, 4.0beta3, 4.0rc1, 4.0rc2, 4.1.0, 4.1.1, 4.1.2, 4.2, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.3.6, 4.3.7, 4.3.8, 4.3.9, 4.3.10, 4.3.11, 4.4.0, 4.4.1, 4.4.2, 4.4.3, 4.4.4, 4.4.5, 4.4.6, 4.4.7, 5.0.0beta1, 5.0.0beta2, 5.0.0beta4, 5.0.0rc1, 5.0.1, 5.0.4, 5.0.5, 5.1.0, 5.1.2, 5.1.4, 5.1.5, 5.1.6, 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.2.4
References
- marc.info http://marc.info/?l=oss-security&m=122152830017099&w=2
- osvdb.org http://osvdb.org/48700
- secunia.com http://secunia.com/advisories/31737 Vendor Advisory
- secunia.com http://secunia.com/advisories/31870 Vendor Advisory
- securityreason.com http://securityreason.com/securityalert/4271
- securitytracker.com http://securitytracker.com/id?1020869
- wordpress.org http://wordpress.org/development/2008/09/wordpress-262/
- www.openwall.com http://www.openwall.com/lists/oss-security/2008/09/11/6
- www.securityfocus.com http://www.securityfocus.com/archive/1/496237/100/0/threaded
- www.securityfocus.com http://www.securityfocus.com/archive/1/496287/100/0/threaded
- www.securityfocus.com http://www.securityfocus.com/bid/31115
- www.sektioneins.de http://www.sektioneins.de/advisories/SE-2008-02.txt
- www.sektioneins.de http://www.sektioneins.de/advisories/SE-2008-04.txt
- www.sektioneins.de http://www.sektioneins.de/advisories/SE-2008-05.txt
- www.suspekt.org http://www.suspekt.org/2008/08/17/mt_srand-and-not-so-random-numbers/
- www.vupen.com http://www.vupen.com/english/advisories/2008/2553
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/45956
- www.redhat.com https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00607.html
- www.redhat.com https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00629.html
- nvd.nist.gov Official NVD record