NetSight
critical9.8

CVE-2008-2108

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

Impact

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.

Affected products

VendorProductAffected versions
PhpPhp
from 4.0.0 before 4.4.8
from 5.0.0 before 5.2.5
FedoraprojectFedora
Versions 8, 9
CanonicalUbuntu Linux
Versions 6.06, 7.04, 7.10, 8.04
DebianDebian Linux
Version 4.0

Weakness classification

References