Skip to content

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 zero bits during conversion due to insuffici...

CriticalCVSS 9.8 EPSS 4.3%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
PHP >= 4.0.0, < 4.4.8 4.4.8
PHP >= 5.0.0, < 5.2.5 5.2.5
fedoraproject fedora = 8 No fix listed
fedoraproject fedora = 9 No fix listed
Canonical Ubuntu Linux = 6.06 No fix listed
Canonical Ubuntu Linux = 7.04 No fix listed
Canonical Ubuntu Linux = 7.10 No fix listed
Canonical Ubuntu Linux = 8.04 No fix listed
debian linux = 4.0 No fix listed

References