5.1
MEDIUM
CVE-2008-4107
PHP PHP Random Number Generation Weakness
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.

INFO

Published Date :

Sept. 18, 2008, 5:59 p.m.

Last Modified :

April 9, 2025, 12:30 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.4

Exploitability Score :

4.9
Affected Products

The following products are affected by CVE-2008-4107 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Php php
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2008-4107.

URL Resource
http://marc.info/?l=oss-security&m=122152830017099&w=2
http://osvdb.org/48700
http://secunia.com/advisories/31737 Vendor Advisory
http://secunia.com/advisories/31870 Vendor Advisory
http://securityreason.com/securityalert/4271
http://securitytracker.com/id?1020869
http://wordpress.org/development/2008/09/wordpress-262/
http://www.openwall.com/lists/oss-security/2008/09/11/6
http://www.securityfocus.com/archive/1/496237/100/0/threaded
http://www.securityfocus.com/archive/1/496287/100/0/threaded
http://www.securityfocus.com/bid/31115
http://www.sektioneins.de/advisories/SE-2008-02.txt
http://www.sektioneins.de/advisories/SE-2008-04.txt
http://www.sektioneins.de/advisories/SE-2008-05.txt
http://www.suspekt.org/2008/08/17/mt_srand-and-not-so-random-numbers/
http://www.vupen.com/english/advisories/2008/2553
https://exchange.xforce.ibmcloud.com/vulnerabilities/45956
https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00607.html
https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00629.html
http://marc.info/?l=oss-security&m=122152830017099&w=2
http://osvdb.org/48700
http://secunia.com/advisories/31737 Vendor Advisory
http://secunia.com/advisories/31870 Vendor Advisory
http://securityreason.com/securityalert/4271
http://securitytracker.com/id?1020869
http://wordpress.org/development/2008/09/wordpress-262/
http://www.openwall.com/lists/oss-security/2008/09/11/6
http://www.securityfocus.com/archive/1/496237/100/0/threaded
http://www.securityfocus.com/archive/1/496287/100/0/threaded
http://www.securityfocus.com/bid/31115
http://www.sektioneins.de/advisories/SE-2008-02.txt
http://www.sektioneins.de/advisories/SE-2008-04.txt
http://www.sektioneins.de/advisories/SE-2008-05.txt
http://www.suspekt.org/2008/08/17/mt_srand-and-not-so-random-numbers/
http://www.vupen.com/english/advisories/2008/2553
https://exchange.xforce.ibmcloud.com/vulnerabilities/45956
https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00607.html
https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00629.html

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2008-4107 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2008-4107 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://marc.info/?l=oss-security&m=122152830017099&w=2
    Added Reference http://osvdb.org/48700
    Added Reference http://secunia.com/advisories/31737
    Added Reference http://secunia.com/advisories/31870
    Added Reference http://securityreason.com/securityalert/4271
    Added Reference http://securitytracker.com/id?1020869
    Added Reference http://wordpress.org/development/2008/09/wordpress-262/
    Added Reference http://www.openwall.com/lists/oss-security/2008/09/11/6
    Added Reference http://www.securityfocus.com/archive/1/496237/100/0/threaded
    Added Reference http://www.securityfocus.com/archive/1/496287/100/0/threaded
    Added Reference http://www.securityfocus.com/bid/31115
    Added Reference http://www.sektioneins.de/advisories/SE-2008-02.txt
    Added Reference http://www.sektioneins.de/advisories/SE-2008-04.txt
    Added Reference http://www.sektioneins.de/advisories/SE-2008-05.txt
    Added Reference http://www.suspekt.org/2008/08/17/mt_srand-and-not-so-random-numbers/
    Added Reference http://www.vupen.com/english/advisories/2008/2553
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/45956
    Added Reference https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00607.html
    Added Reference https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00629.html
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CPE Deprecation Remap by [email protected]

    Oct. 30, 2018

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:php:php:4.2.4:*:*:*:*:*:*:* OR *cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Oct. 30, 2018

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:php:php:4.2:*:*:*:*:*:*:* OR *cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Oct. 30, 2018

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:php:php:4.3:*:*:*:*:*:*:* OR *cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Oct. 30, 2018

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:php:php:4.1.3:*:*:*:*:*:*:* OR *cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 11, 2018

    Action Type Old Value New Value
    Removed Reference http://www.securityfocus.com/archive/1/archive/1/496237/100/0/threaded [No Types Assigned]
    Removed Reference http://www.securityfocus.com/archive/1/archive/1/496287/100/0/threaded [No Types Assigned]
    Added Reference http://www.securityfocus.com/archive/1/496287/100/0/threaded [No Types Assigned]
    Added Reference http://www.securityfocus.com/archive/1/496237/100/0/threaded [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 08, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/45956 [No Types Assigned]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/45956 [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 19, 2008

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2008-4107 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2008-4107 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

10.06 }} -7.50%

score

0.92345

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability