CVE-2008-2108

Advisory lineage Upstream: 0 Downstream: 6
Modified
Published: 07 May 2008, 21:00
Last modified:07 Aug 2024, 08:49

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.8 CRITICAL
v3.1 (nvd)
EPSS Score
5.61% LOW
6% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
2 found
Dark Web
Not detected

Timeline

07 May 2008, 21:00
Published
Vulnerability first disclosed
07 Aug 2024, 08:49
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1CRITICALScore: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • v2.0HIGHScore: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P

EPSS Trends

Current EPSS score: 5.61% Percentile: 90%

Techniques & Countermeasures

  • CWE-331Insufficient Entropy

    The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.

Affected Systems

  • canonicalubuntu_linux

    6.06 | 7.04 | 7.10 | 8.04

  • debiandebian_linux

    4.0

  • fedoraprojectfedora

    8 | 9

  • UnknownPHP

    ≥ 4.0.0, < 4.4.8 | ≥ 5.0.0, < 5.2.5

References (29)