Skip to content

CVE-2008-2107 The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 32-bit systems, performs a multiplication using values that can produce a zero seed in rare circumstances, which a...

HighCVSS 7.5 EPSS 3.4%
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 32-bit systems, performs a multiplication using values that can produce a zero seed in rare circumstances, which allows context-dependent attackers to predict subsequent values of the rand and mt_rand functions and possibly bypass protection mechanisms that rely on an unknown initial seed.

Affected products

ProductAffected versionsFixed in
PHP <= 4.4.7 No fix listed
PHP = 5 No fix listed
PHP = 5.0.0-beta1 No fix listed
PHP = 5.0.0-beta2 No fix listed
PHP = 5.0.0-beta3 No fix listed
PHP = 5.0.0-rc1 No fix listed
PHP = 5.0.0-rc2 No fix listed
PHP = 5.0.0-rc3 No fix listed
PHP = 5.0.1 No fix listed
PHP = 5.0.2 No fix listed
PHP = 5.0.3 No fix listed
PHP = 5.0.4 No fix listed
PHP = 5.0.5 No fix listed
PHP = 5.1.0 No fix listed
PHP = 5.1.1 No fix listed
PHP = 5.1.2 No fix listed
PHP = 5.1.3 No fix listed
PHP = 5.1.4 No fix listed
PHP = 5.1.5 No fix listed
PHP = 5.1.6 No fix listed
PHP = 5.2.0 No fix listed
PHP = 5.2.1 No fix listed
PHP = 5.2.2 No fix listed
PHP = 5.2.3 No fix listed
PHP = 5.2.4 No fix listed

References