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 allows context-dependent attackers to predict…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.39%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 2.0
- 7.5 HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
- EPSS
- 3.39% probability · 88th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-189
- Affected
- php/php
- Source
- cve@mitre.org
References
- http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.htmlExploit
- http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00001.html
- http://secunia.com/advisories/30757
- http://secunia.com/advisories/30828
- http://secunia.com/advisories/30967
- http://secunia.com/advisories/31119
- http://secunia.com/advisories/31124
- http://secunia.com/advisories/31200
- http://secunia.com/advisories/32746
- http://secunia.com/advisories/35003
- http://security.gentoo.org/glsa/glsa-200811-05.xml
- http://securityreason.com/securityalert/3859
- http://www.debian.org/security/2009/dsa-1789
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:125
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:126
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:127
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:128
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:129
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:130
- http://www.redhat.com/support/errata/RHSA-2008-0505.html
- http://www.redhat.com/support/errata/RHSA-2008-0544.html
- http://www.redhat.com/support/errata/RHSA-2008-0545.html
- http://www.redhat.com/support/errata/RHSA-2008-0546.html
- http://www.redhat.com/support/errata/RHSA-2008-0582.html
- http://www.securityfocus.com/archive/1/491683/100/0/threaded
- http://www.sektioneins.de/advisories/SE-2008-02.txtExploit
- http://www.ubuntu.com/usn/usn-628-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42226
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42284
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10644
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.