CVE-2008-2108
At a glance
- Source
- NVD
- EPSS
- EPSS 4.29 % · percentile 91 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mitre
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-331 — Insufficient Entropy
References
- https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html
- http://secunia.com/advisories/32746
- http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html
- http://security.gentoo.org/glsa/glsa-200811-05.xml
- http://www.redhat.com/support/errata/RHSA-2008-0546.html
- https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html
- http://secunia.com/advisories/30828
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:128
- http://securityreason.com/securityalert/3859
- http://www.redhat.com/support/errata/RHSA-2008-0582.html
- http://www.ubuntu.com/usn/usn-628-1
- http://www.redhat.com/support/errata/RHSA-2008-0545.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42226
- http://secunia.com/advisories/31124
- http://secunia.com/advisories/31119
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:129
- http://secunia.com/advisories/31200
- http://secunia.com/advisories/30757
- http://www.redhat.com/support/errata/RHSA-2008-0544.html
- http://secunia.com/advisories/35003
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:125
- http://www.redhat.com/support/errata/RHSA-2008-0505.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10844
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:130
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:126
- http://www.securityfocus.com/archive/1/491683/100/0/threaded
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:127
- http://www.sektioneins.de/advisories/SE-2008-02.txt
- http://www.debian.org/security/2009/dsa-1789
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2008-2105
- GCVE · GCVE-0-2008-2108
CERT-FR advisories
- CERTA-2008-AVI-225 — Multiples vulnérabilités dans PHP · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*≥ 4.0.0 < 4.4.8cpe:2.3:a:php:php:*:*:*:*:*:*:*:*≥ 5.0.0 < 5.2.5cpe:2.3:o:fedoraproject:fedora:8:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:9:*:*:*:*:*:*:*cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:*cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:*cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:*cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| affected n/a |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |