Back to search
CVE-2008-2108
Published: May 7, 2008
Modified: Aug 7, 2024
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
n/a | n/a | affected n/a |
References
FEDORA-2008-3606
vendor-advisory
x_refsource_FEDORA
32746
third-party-advisory
x_refsource_SECUNIA
20080506 Advisory SE-2008-02: PHP GENERATE_SEED() Weak Random Number Seed Vulnerability
mailing-list
x_refsource_FULLDISC
GLSA-200811-05
vendor-advisory
x_refsource_GENTOO
RHSA-2008:0546
vendor-advisory
x_refsource_REDHAT
FEDORA-2008-3864
vendor-advisory
x_refsource_FEDORA
30828
third-party-advisory
x_refsource_SECUNIA
MDVSA-2008:128
vendor-advisory
x_refsource_MANDRIVA
3859
third-party-advisory
x_refsource_SREASON
RHSA-2008:0582
vendor-advisory
x_refsource_REDHAT
USN-628-1
vendor-advisory
x_refsource_UBUNTU
RHSA-2008:0545
vendor-advisory
x_refsource_REDHAT
php-generateseed-weak-security(42226)
vdb-entry
x_refsource_XF
31124
third-party-advisory
x_refsource_SECUNIA
31119
third-party-advisory
x_refsource_SECUNIA
MDVSA-2008:129
vendor-advisory
x_refsource_MANDRIVA
31200
third-party-advisory
x_refsource_SECUNIA
30757
third-party-advisory
x_refsource_SECUNIA
RHSA-2008:0544
vendor-advisory
x_refsource_REDHAT
35003
third-party-advisory
x_refsource_SECUNIA
MDVSA-2008:125
vendor-advisory
x_refsource_MANDRIVA
RHSA-2008:0505
vendor-advisory
x_refsource_REDHAT
oval:org.mitre.oval:def:10844
vdb-entry
signature
x_refsource_OVAL
MDVSA-2008:130
vendor-advisory
x_refsource_MANDRIVA
MDVSA-2008:126
vendor-advisory
x_refsource_MANDRIVA
20080506 Advisory SE-2008-02: PHP GENERATE_SEED() Weak Random Number Seed Vulnerability
mailing-list
x_refsource_BUGTRAQ
MDVSA-2008:127
vendor-advisory
x_refsource_MANDRIVA
http://www.sektioneins.de/advisories/SE-2008-02.txt
x_refsource_MISC
DSA-1789
vendor-advisory
x_refsource_DEBIAN
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now