5.1med

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 lever…

Published 18 y ago · modified 4 mo ago · JSON

CVSS
5.1
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
3.0%
percentile 87%
Public exploits
0
none known

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 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.

Exploit prediction (EPSS)

3.01% probability of exploitation in the next 30 days, higher than 87% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD2.05.1AV:N/AC:H/Au:N/C:P/I:P/A:P

Classification

Weakness
Technology feeds
PHP (RSS, critical only)

References

  • secunia.com /advisories/31737 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • marc.info /?l=oss-security&m=122152830017099&w=2 · mailing-list, x_refsource_MLIST, x_transferred
  • securityreason.com /securityalert/4271 · third-party-advisory, x_refsource_SREASON, x_transferred
  • securityfocus.com /bid/31115 · vdb-entry, x_refsource_BID, x_transferred
  • securityfocus.com /archive/1/496237/100/0/threaded · mailing-list, x_refsource_BUGTRAQ, x_transferred
  • suspekt.org /2008/08/17/mt_srand-and-not-so-random-numbers/ · x_refsource_MISC, x_transferred
  • vupen.com /english/advisories/2008/2553 · vdb-entry, x_refsource_VUPEN, x_transferred
  • openwall.com /lists/oss-security/2008/09/11/6 · mailing-list, x_refsource_MLIST, x_transferred
  • osvdb.org /48700 · vdb-entry, x_refsource_OSVDB, x_transferred
  • sektioneins.de /advisories/SE-2008-05.txt · x_refsource_MISC, x_transferred
  • secunia.com /advisories/31870 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • securityfocus.com /archive/1/496287/100/0/threaded · mailing-list, x_refsource_BUGTRAQ, x_transferred
  • securitytracker.com /id?1020869 · vdb-entry, x_refsource_SECTRACK, x_transferred
  • redhat.com /archives/fedora-package-announce/2008-September/msg00629.html · vendor-advisory, x_refsource_FEDORA, x_transferred
  • redhat.com /archives/fedora-package-announce/2008-September/msg00607.html · vendor-advisory, x_refsource_FEDORA, x_transferred
  • exchange.xforce.ibmcloud.com /vulnerabilities/45956 · vdb-entry, x_refsource_XF, x_transferred
  • wordpress.org /development/2008/09/wordpress-262/ · x_refsource_CONFIRM, x_transferred
  • sektioneins.de /advisories/SE-2008-04.txt · x_refsource_MISC, x_transferred
  • sektioneins.de /advisories/SE-2008-02.txt · x_refsource_MISC, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.