9.8
CRITICAL
CVE-2008-2108
Apache PHP Random Number Generator Bug
Description

The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 64-bit systems, performs a multiplication that generates a portion of zero bits during conversion due to insufficient precision, which produces 24 bits of entropy and simplifies brute force attacks against protection mechanisms that use the rand and mt_rand functions.

INFO

Published Date :

May 7, 2008, 9:20 p.m.

Last Modified :

Feb. 15, 2024, 3:29 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2008-2108 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 Canonical ubuntu_linux
1 Fedoraproject fedora
1 Debian debian_linux
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-2108.

URL Resource
http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html Broken Link Exploit
http://secunia.com/advisories/30757 Broken Link
http://secunia.com/advisories/30828 Broken Link
http://secunia.com/advisories/31119 Broken Link
http://secunia.com/advisories/31124 Broken Link
http://secunia.com/advisories/31200 Broken Link
http://secunia.com/advisories/32746 Broken Link
http://secunia.com/advisories/35003 Broken Link
http://security.gentoo.org/glsa/glsa-200811-05.xml Third Party Advisory
http://securityreason.com/securityalert/3859 Mailing List
http://www.debian.org/security/2009/dsa-1789 Mailing List
http://www.mandriva.com/security/advisories?name=MDVSA-2008:125 Broken Link
http://www.mandriva.com/security/advisories?name=MDVSA-2008:126 Broken Link
http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 Broken Link
http://www.mandriva.com/security/advisories?name=MDVSA-2008:128 Broken Link
http://www.mandriva.com/security/advisories?name=MDVSA-2008:129 Broken Link
http://www.mandriva.com/security/advisories?name=MDVSA-2008:130 Broken Link
http://www.redhat.com/support/errata/RHSA-2008-0505.html Broken Link
http://www.redhat.com/support/errata/RHSA-2008-0544.html Broken Link
http://www.redhat.com/support/errata/RHSA-2008-0545.html Broken Link
http://www.redhat.com/support/errata/RHSA-2008-0546.html Broken Link
http://www.redhat.com/support/errata/RHSA-2008-0582.html Broken Link
http://www.securityfocus.com/archive/1/491683/100/0/threaded Broken Link Third Party Advisory VDB Entry
http://www.sektioneins.de/advisories/SE-2008-02.txt Broken Link Exploit
http://www.ubuntu.com/usn/usn-628-1 Third Party Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/42226 Third Party Advisory VDB Entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10844 Broken Link
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html Mailing List
https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html Mailing List

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-2108 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2008-2108 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 [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Feb. 15, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html Exploit http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html Broken Link, Exploit
    Changed Reference Type http://secunia.com/advisories/30757 No Types Assigned http://secunia.com/advisories/30757 Broken Link
    Changed Reference Type http://secunia.com/advisories/30828 No Types Assigned http://secunia.com/advisories/30828 Broken Link
    Changed Reference Type http://secunia.com/advisories/31119 No Types Assigned http://secunia.com/advisories/31119 Broken Link
    Changed Reference Type http://secunia.com/advisories/31124 No Types Assigned http://secunia.com/advisories/31124 Broken Link
    Changed Reference Type http://secunia.com/advisories/31200 No Types Assigned http://secunia.com/advisories/31200 Broken Link
    Changed Reference Type http://secunia.com/advisories/32746 No Types Assigned http://secunia.com/advisories/32746 Broken Link
    Changed Reference Type http://secunia.com/advisories/35003 No Types Assigned http://secunia.com/advisories/35003 Broken Link
    Changed Reference Type http://security.gentoo.org/glsa/glsa-200811-05.xml No Types Assigned http://security.gentoo.org/glsa/glsa-200811-05.xml Third Party Advisory
    Changed Reference Type http://securityreason.com/securityalert/3859 No Types Assigned http://securityreason.com/securityalert/3859 Mailing List
    Changed Reference Type http://www.debian.org/security/2009/dsa-1789 No Types Assigned http://www.debian.org/security/2009/dsa-1789 Mailing List
    Changed Reference Type http://www.mandriva.com/security/advisories?name=MDVSA-2008:125 No Types Assigned http://www.mandriva.com/security/advisories?name=MDVSA-2008:125 Broken Link
    Changed Reference Type http://www.mandriva.com/security/advisories?name=MDVSA-2008:126 No Types Assigned http://www.mandriva.com/security/advisories?name=MDVSA-2008:126 Broken Link
    Changed Reference Type http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 No Types Assigned http://www.mandriva.com/security/advisories?name=MDVSA-2008:127 Broken Link
    Changed Reference Type http://www.mandriva.com/security/advisories?name=MDVSA-2008:128 No Types Assigned http://www.mandriva.com/security/advisories?name=MDVSA-2008:128 Broken Link
    Changed Reference Type http://www.mandriva.com/security/advisories?name=MDVSA-2008:129 No Types Assigned http://www.mandriva.com/security/advisories?name=MDVSA-2008:129 Broken Link
    Changed Reference Type http://www.mandriva.com/security/advisories?name=MDVSA-2008:130 No Types Assigned http://www.mandriva.com/security/advisories?name=MDVSA-2008:130 Broken Link
    Changed Reference Type http://www.redhat.com/support/errata/RHSA-2008-0505.html No Types Assigned http://www.redhat.com/support/errata/RHSA-2008-0505.html Broken Link
    Changed Reference Type http://www.redhat.com/support/errata/RHSA-2008-0544.html No Types Assigned http://www.redhat.com/support/errata/RHSA-2008-0544.html Broken Link
    Changed Reference Type http://www.redhat.com/support/errata/RHSA-2008-0545.html No Types Assigned http://www.redhat.com/support/errata/RHSA-2008-0545.html Broken Link
    Changed Reference Type http://www.redhat.com/support/errata/RHSA-2008-0546.html No Types Assigned http://www.redhat.com/support/errata/RHSA-2008-0546.html Broken Link
    Changed Reference Type http://www.redhat.com/support/errata/RHSA-2008-0582.html No Types Assigned http://www.redhat.com/support/errata/RHSA-2008-0582.html Broken Link
    Changed Reference Type http://www.securityfocus.com/archive/1/491683/100/0/threaded No Types Assigned http://www.securityfocus.com/archive/1/491683/100/0/threaded Broken Link, Third Party Advisory, VDB Entry
    Changed Reference Type http://www.sektioneins.de/advisories/SE-2008-02.txt Exploit http://www.sektioneins.de/advisories/SE-2008-02.txt Broken Link, Exploit
    Changed Reference Type http://www.ubuntu.com/usn/usn-628-1 No Types Assigned http://www.ubuntu.com/usn/usn-628-1 Third Party Advisory
    Changed Reference Type https://exchange.xforce.ibmcloud.com/vulnerabilities/42226 No Types Assigned https://exchange.xforce.ibmcloud.com/vulnerabilities/42226 Third Party Advisory, VDB Entry
    Changed Reference Type https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10844 No Types Assigned https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10844 Broken Link
    Changed Reference Type https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html No Types Assigned https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html Mailing List
    Changed Reference Type https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html No Types Assigned https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html Mailing List
    Removed CWE NIST CWE-189
    Added CWE NIST CWE-331
    Changed CPE Configuration OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions up to (including) 4.4.7 *cpe:2.3:a:php:php:5:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:beta1:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:beta2:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:beta3:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:rc2:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:rc3:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.6:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.4:*:*:*:*:*:*:* OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.4.8 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (excluding) 5.2.5
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:8:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:9:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:4.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/491683/100/0/threaded [Exploit]
    Added Reference http://www.securityfocus.com/archive/1/491683/100/0/threaded [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 29, 2017

    Action Type Old Value New Value
    Removed Reference http://oval.mitre.org/repository/data/getDef?id=oval:org.mitre.oval:def:10844 [No Types Assigned]
    Added Reference https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10844 [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/42226 [No Types Assigned]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/42226 [No Types Assigned]
  • Initial Analysis by [email protected]

    May. 08, 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-2108 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-2108 weaknesses.

Exploit Prediction

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

0.36 }} -1.54%

score

0.71392

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability