CVE-2008-2108
Last modified
CVE-2008-2108 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 4.29% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 4.0.0, < 4.4.8 |
| Php | Php | >= 5.0.0, < 5.2.5 |
| Fedoraproject | Fedora | 8 |
| Fedoraproject | Fedora | 9 |
| Canonical | Ubuntu Linux | 6.06 |
| Canonical | Ubuntu Linux | 7.04 |
| Canonical | Ubuntu Linux | 7.10 |
| Canonical | Ubuntu Linux | 8.04 |
| Debian | Debian Linux | 4.0 |
References
- http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.htmlBroken Link, Exploit
- http://secunia.com/advisories/30757Broken Link
- http://secunia.com/advisories/30828Broken Link
- http://secunia.com/advisories/31119Broken Link
- http://secunia.com/advisories/31124Broken Link
- http://secunia.com/advisories/31200Broken Link
- http://secunia.com/advisories/32746Broken Link
- http://secunia.com/advisories/35003Broken Link
- http://security.gentoo.org/glsa/glsa-200811-05.xmlThird Party Advisory
- http://securityreason.com/securityalert/3859Mailing List
- http://www.debian.org/security/2009/dsa-1789Mailing List
- http://www.securityfocus.com/archive/1/491683/100/0/threadedBroken Link, Third Party Advisory, VDB Entry
- http://www.sektioneins.de/advisories/SE-2008-02.txtBroken Link, Exploit
- http://www.ubuntu.com/usn/usn-628-1Third Party Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42226Third Party Advisory, VDB Entry
- http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.htmlBroken Link, Exploit
- http://secunia.com/advisories/30757Broken Link
- http://secunia.com/advisories/30828Broken Link
- http://secunia.com/advisories/31119Broken Link
- http://secunia.com/advisories/31124Broken Link
- http://secunia.com/advisories/31200Broken Link
- http://secunia.com/advisories/32746Broken Link
- http://secunia.com/advisories/35003Broken Link
- http://security.gentoo.org/glsa/glsa-200811-05.xmlThird Party Advisory
- http://securityreason.com/securityalert/3859Mailing List
- http://www.debian.org/security/2009/dsa-1789Mailing List
- http://www.securityfocus.com/archive/1/491683/100/0/threadedBroken Link, Third Party Advisory, VDB Entry
- http://www.sektioneins.de/advisories/SE-2008-02.txtBroken Link, Exploit
- http://www.ubuntu.com/usn/usn-628-1Third Party Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42226Third Party Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2008-2108?
How severe is CVE-2008-2108?
How do I fix CVE-2008-2108?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2008
- CVE-2008-2101The VMware Consolidated Backup (VCB) command-line utilities …
- CVE-2008-2103Cross-site scripting (XSS) vulnerability in Bugzilla 2.17.2 …
- CVE-2008-2104The WebService in Bugzilla 3.1.3 allows remote authenticated…
- CVE-2008-2105email_in.pl in Bugzilla 2.23.4, 3.0.x before 3.0.4, and 3.1.…
- CVE-2008-2106Call of Duty 4 (CoD4) 1.5 and earlier allows remote authenti…
- CVE-2008-2107The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x befo…
- CVE-2008-2109field.c in the libid3tag 0.15.0b library allows context-depe…
- CVE-2008-2110Unrestricted file upload vulnerability in qtofm.php in QTOFi…
- CVE-2008-2111The ActiveX Control (yNotifier.dll) in Yahoo! Assistant 3.6 …
- CVE-2008-2112Unspecified vulnerability in Sun Ray Kiosk Mode 4.0 allows l…
- CVE-2008-2113SQL injection vulnerability in annuaire.php in PHPEasyData 1…
- CVE-2008-2114SQL injection vulnerability in emall/search.php in Pre Shopp…
Are you affected by CVE-2008-2108?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
