Vulnerability in PHP
CVE-2008-4107
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.1 (Medium). Vector: AV:N/AC:H/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.030 (86.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 87th percentile — 86.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.030 · newest: 0.030 · change: 0.000
Affected products
- PHP — versions 4.0, 4.0.0, 4.0.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- secunia.com/advisories/31737 (Vendor Advisory, third-party-advisory)
- marc.info/ (mailing-list)
- securityreason.com/securityalert/4271 (third-party-advisory)
- www.securityfocus.com/bid/31115 (vdb-entry)
- www.securityfocus.com/archive/1/496237/100/0/threaded (mailing-list)
- www.suspekt.org/2008/08/17/mt_srand-and-not-so-random-numbers/
- www.vupen.com/english/advisories/2008/2553 (vdb-entry)
- www.openwall.com/lists/oss-security/2008/09/11/6 (mailing-list)
- osvdb.org/48700 (vdb-entry)
- www.sektioneins.de/advisories/SE-2008-05.txt
Frequently asked questions
- What is CVE-2008-4107?
- CVE-2008-4107 is a vulnerability in PHP, classified under CWE-189. Published 2008-09-18.
- Is CVE-2008-4107 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.