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
| Product | Affected versions | Fixed 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
- 20080506 Advisory SE-2008-02: PHP GENERATE_SEED() Weak Random Number Seed Vulnerability exploit mailing-list
- SUSE-SR:2008:014 vendor-advisory
- 30757 third-party-advisory
- 30828 third-party-advisory
- 30967 third-party-advisory
- 31119 third-party-advisory
- 31124 third-party-advisory
- 31200 third-party-advisory
- 32746 third-party-advisory
- 35003 third-party-advisory
- GLSA-200811-05 vendor-advisory
- 3859 third-party-advisory
- DSA-1789 vendor-advisory
- MDVSA-2008:125 vendor-advisory
- MDVSA-2008:126 vendor-advisory
- MDVSA-2008:127 vendor-advisory
- MDVSA-2008:128 vendor-advisory
- MDVSA-2008:129 vendor-advisory
- MDVSA-2008:130 vendor-advisory
- RHSA-2008:0505 vendor-advisory
- RHSA-2008:0544 vendor-advisory
- RHSA-2008:0545 vendor-advisory
- RHSA-2008:0546 vendor-advisory
- RHSA-2008:0582 vendor-advisory
- 20080506 Advisory SE-2008-02: PHP GENERATE_SEED() Weak Random Number Seed Vulnerability mailing-list
- www.sektioneins.de exploit
- USN-628-1 vendor-advisory
- php-generateseed-weak-security(42226) vdb-entry
- php-generateseed-security-bypass(42284) vdb-entry
- oval:org.mitre.oval:def:10644 signature vdb-entry
- FEDORA-2008-3864 vendor-advisory
- FEDORA-2008-3606 vendor-advisory