CVE-2008-2108
PHP weak 64 bit random seed
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Oracle (medium), Red Hat (low).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Oracle Linux 5 | php, php-bcmath, php-cli and 16 more | 5.1.6-20.el5_2.1 |
Show all 19 entries from 1 source
| Source | Package | Fixed in |
|---|---|---|
| Oracle Linux 5 | php | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-bcmath | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-cli | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-common | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-dba | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-devel | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-gd | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-imap | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-ldap | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-mbstring | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-mysql | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-ncurses | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-odbc | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-pdo | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-pgsql | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-snmp | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-soap | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-xml | 5.1.6-20.el5_2.1 |
| Oracle Linux 5 | php-xmlrpc | 5.1.6-20.el5_2.1 |
References
- http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html
- http://secunia.com/advisories/30757
- http://secunia.com/advisories/30828
- 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
All 34 references
- 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.txt
- http://www.ubuntu.com/usn/usn-628-1
- https://access.redhat.com/security/cve/CVE-2008-2108
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42226
- https://linux.oracle.com/cve/CVE-2008-2108.html
- https://linux.oracle.com/errata/ELSA-2008-0544.html
- https://nvd.nist.gov/vuln/detail/CVE-2008-2108
- https://oval.cisecurity.org/repository/search/definition/oval:org.mitre.oval:def:10844
- https://www.cve.org/CVERecord?id=CVE-2008-2108
- https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html
- https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html