Rapid7 Vulnerability & Exploit Database

PHP Vulnerability: CVE-2008-2108

Back to Search

PHP Vulnerability: CVE-2008-2108

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
05/07/2008
Created
07/25/2018
Added
10/01/2012
Modified
07/21/2021

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.

Solution(s)

  • php-upgrade-4_4_8
  • php-upgrade-5_2_5

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;