{"data":{"id":"CVE-2008-4107","cve_id":"CVE-2008-4107","title":"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 pro…","summary":"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 pro…","severity":"MEDIUM","cvss":{"score":5.1,"version":"2.0","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","source":"nvd"},"published_at":"2008-09-18T17:59:33.063000Z","modified_at":"2026-06-16T22:57:11.583000Z","withdrawn_at":null,"is_joomla":true,"is_joomla_core":true,"relevance":"probable","product":"Joomla CMS","extension":{"type":null,"name":null},"sources":["nvd"],"source_count":1,"url":"https://cve.oyer.fr/cve/CVE-2008-4107","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.","cwe":["CWE-189"],"affected":[{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","version_start":null,"version_end":"4.4.8","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.0:beta1:*:*:*:*:*:*","version_start":"4.0","version_end":"4.0","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.0:beta3:*:*:*:*:*:*","version_start":"4.0","version_end":"4.0","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.0:rc1:*:*:*:*:*:*","version_start":"4.0","version_end":"4.0","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.0:rc2:*:*:*:*:*:*","version_start":"4.0","version_end":"4.0","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.0.0:*:*:*:*:*:*:*","version_start":"4.0.0","version_end":"4.0.0","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:*","version_start":"4.0.1","version_end":"4.0.1","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.0.1:patch1:*:*:*:*:*:*","version_start":"4.0.1","version_end":"4.0.1","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.0.1:patch2:*:*:*:*:*:*","version_start":"4.0.1","version_end":"4.0.1","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:*","version_start":"4.0.2","version_end":"4.0.2","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.0.3:patch1:*:*:*:*:*:*","version_start":"4.0.3","version_end":"4.0.3","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.0.4:patch1:*:*:*:*:*:*","version_start":"4.0.4","version_end":"4.0.4","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:*","version_start":"4.0.5","version_end":"4.0.5","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:*","version_start":"4.0.6","version_end":"4.0.6","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:*","version_start":"4.0.7","version_end":"4.0.7","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.0.7:rc2:*:*:*:*:*:*","version_start":"4.0.7","version_end":"4.0.7","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.0.7:rc3:*:*:*:*:*:*","version_start":"4.0.7","version_end":"4.0.7","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.0.7:rc4:*:*:*:*:*:*","version_start":"4.0.7","version_end":"4.0.7","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:*","version_start":"4.1.0","version_end":"4.1.0","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:*","version_start":"4.1.1","version_end":"4.1.1","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:*","version_start":"4.1.2","version_end":"4.1.2","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.2:*:dev:*:*:*:*:*","version_start":"4.2","version_end":"4.2","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:*","version_start":"4.2.0","version_end":"4.2.0","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:*","version_start":"4.2.1","version_end":"4.2.1","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:*","version_start":"4.2.2","version_end":"4.2.2","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:*","version_start":"4.2.3","version_end":"4.2.3","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:*","version_start":"4.3.0","version_end":"4.3.0","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.3.1:*:*:*:*:*:*:*","version_start":"4.3.1","version_end":"4.3.1","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.3.2:*:*:*:*:*:*:*","version_start":"4.3.2","version_end":"4.3.2","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:*","version_start":"4.3.3","version_end":"4.3.3","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.3.4:*:*:*:*:*:*:*","version_start":"4.3.4","version_end":"4.3.4","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.3.5:*:*:*:*:*:*:*","version_start":"4.3.5","version_end":"4.3.5","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:*","version_start":"4.3.6","version_end":"4.3.6","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:*","version_start":"4.3.7","version_end":"4.3.7","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:*","version_start":"4.3.8","version_end":"4.3.8","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:*","version_start":"4.3.9","version_end":"4.3.9","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.3.10:*:*:*:*:*:*:*","version_start":"4.3.10","version_end":"4.3.10","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.3.11:*:*:*:*:*:*:*","version_start":"4.3.11","version_end":"4.3.11","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.4.0:*:*:*:*:*:*:*","version_start":"4.4.0","version_end":"4.4.0","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.4.1:*:*:*:*:*:*:*","version_start":"4.4.1","version_end":"4.4.1","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.4.2:*:*:*:*:*:*:*","version_start":"4.4.2","version_end":"4.4.2","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.4.3:*:*:*:*:*:*:*","version_start":"4.4.3","version_end":"4.4.3","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.4.4:*:*:*:*:*:*:*","version_start":"4.4.4","version_end":"4.4.4","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.4.5:*:*:*:*:*:*:*","version_start":"4.4.5","version_end":"4.4.5","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.4.6:*:*:*:*:*:*:*","version_start":"4.4.6","version_end":"4.4.6","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:4.4.7:*:*:*:*:*:*:*","version_start":"4.4.7","version_end":"4.4.7","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","version_start":null,"version_end":"5.2.5","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:5.0.0:beta1:*:*:*:*:*:*","version_start":"5.0.0","version_end":"5.0.0","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:5.0.0:beta2:*:*:*:*:*:*","version_start":"5.0.0","version_end":"5.0.0","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:5.0.0:beta4:*:*:*:*:*:*","version_start":"5.0.0","version_end":"5.0.0","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:5.0.0:rc1:*:*:*:*:*:*","version_start":"5.0.0","version_end":"5.0.0","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:*","version_start":"5.0.1","version_end":"5.0.1","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:*","version_start":"5.0.4","version_end":"5.0.4","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:*","version_start":"5.0.5","version_end":"5.0.5","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:*","version_start":"5.1.0","version_end":"5.1.0","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:*","version_start":"5.1.2","version_end":"5.1.2","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:*","version_start":"5.1.4","version_end":"5.1.4","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:*","version_start":"5.1.5","version_end":"5.1.5","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:5.1.6:*:*:*:*:*:*:*","version_start":"5.1.6","version_end":"5.1.6","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:*","version_start":"5.2.0","version_end":"5.2.0","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:*","version_start":"5.2.1","version_end":"5.2.1","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:5.2.2:*:*:*:*:*:*:*","version_start":"5.2.2","version_end":"5.2.2","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:*","version_start":"5.2.3","version_end":"5.2.3","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"},{"package":null,"product":"php","vendor":"php","ecosystem":null,"cpe":"cpe:2.3:a:php:php:5.2.4:*:*:*:*:*:*:*","version_start":"5.2.4","version_end":"5.2.4","version_end_inclusive":true,"fixed_version":null,"type":null,"source":"nvd"}],"references":[{"url":"http://marc.info/?l=oss-security&m=122152830017099&w=2","title":null,"source":"nvd"},{"url":"http://osvdb.org/48700","title":null,"source":"nvd"},{"url":"http://secunia.com/advisories/31737","title":"Vendor Advisory","source":"nvd"},{"url":"http://secunia.com/advisories/31870","title":"Vendor Advisory","source":"nvd"},{"url":"http://securityreason.com/securityalert/4271","title":null,"source":"nvd"},{"url":"http://securitytracker.com/id?1020869","title":null,"source":"nvd"},{"url":"http://wordpress.org/development/2008/09/wordpress-262/","title":null,"source":"nvd"},{"url":"http://www.openwall.com/lists/oss-security/2008/09/11/6","title":null,"source":"nvd"},{"url":"http://www.securityfocus.com/archive/1/496237/100/0/threaded","title":null,"source":"nvd"},{"url":"http://www.securityfocus.com/archive/1/496287/100/0/threaded","title":null,"source":"nvd"},{"url":"http://www.securityfocus.com/bid/31115","title":null,"source":"nvd"},{"url":"http://www.sektioneins.de/advisories/SE-2008-02.txt","title":null,"source":"nvd"},{"url":"http://www.sektioneins.de/advisories/SE-2008-04.txt","title":null,"source":"nvd"},{"url":"http://www.sektioneins.de/advisories/SE-2008-05.txt","title":null,"source":"nvd"},{"url":"http://www.suspekt.org/2008/08/17/mt_srand-and-not-so-random-numbers/","title":null,"source":"nvd"},{"url":"http://www.vupen.com/english/advisories/2008/2553","title":null,"source":"nvd"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/45956","title":null,"source":"nvd"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00607.html","title":null,"source":"nvd"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00629.html","title":null,"source":"nvd"}],"source_records":[{"source":"nvd","external_id":"CVE-2008-4107","url":"https://nvd.nist.gov/vuln/detail/CVE-2008-4107","severity":"MEDIUM","cvss_score":5.1,"cvss_vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","cvss_version":"2.0","first_seen_at":"2026-09-26T09:27:06.852064Z","last_seen_at":"2026-09-26T09:34:00.903465Z"}],"history":[{"at":"2026-09-26T09:27:06.852064Z","event":"created","source":"nvd","detail":"Détectée via nvd"}]}}
