CVE-2008-4107

PHP: insecure random numbers

Published Sep 18, 2008 CVSS 2.0 · 5.1 Medium EPSS 3.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 7, 2024, 10:00 AM
Reserved
Sep 15, 2008, 12:00 AM
Status
Modified
Published
Sep 18, 2008, 5:59 PM
Modified
Jun 16, 2026, 10:57 PM
Severity
Moderate
Public date
Sep 11, 2008, 12:00 AM