CVE-2008-2108

HIGH

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.

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

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://exchange.xforce.ibmcloud.com/vulnerabilities/42226

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10844

https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html

https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html

Details

Source: MITRE

Published: 2008-05-07

Updated: 2018-10-11

Type: CWE-189

Risk Information

CVSS v2.0

Base Score: 7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 10

Severity: HIGH

Tenable Plugins

View all (19 total)

IDNameProductFamilySeverity
67712Oracle Linux 4 : php (ELSA-2008-0545)NessusOracle Linux Local Security Checks
critical
67711Oracle Linux 3 / 5 : php (ELSA-2008-0544)NessusOracle Linux Local Security Checks
critical
60445Scientific Linux Security Update : php on SL5.x i386/x86_64NessusScientific Linux Local Security Checks
critical
60444Scientific Linux Security Update : php on SL4.x i386/x86_64NessusScientific Linux Local Security Checks
critical
43693CentOS 4 : php (CESA-2008:0545)NessusCentOS Local Security Checks
critical
38691Debian DSA-1789-1 : php5 - several vulnerabilitiesNessusDebian Local Security Checks
critical
38042Mandriva Linux Security Advisory : php (MDVSA-2008:127)NessusMandriva Local Security Checks
critical
37584Mandriva Linux Security Advisory : php (MDVSA-2008:126)NessusMandriva Local Security Checks
critical
36486Mandriva Linux Security Advisory : php (MDVSA-2008:128)NessusMandriva Local Security Checks
critical
34787GLSA-200811-05 : PHP: Multiple vulnerabilitiesNessusGentoo Local Security Checks
critical
33575Ubuntu 6.06 LTS / 7.04 / 7.10 / 8.04 LTS : php5 vulnerabilities (USN-628-1)NessusUbuntu Local Security Checks
critical
33524CentOS 3 / 5 : php (CESA-2008:0544)NessusCentOS Local Security Checks
critical
33512RHEL 2.1 : php (RHSA-2008:0546)NessusRed Hat Local Security Checks
critical
33511RHEL 4 : php (RHSA-2008:0545)NessusRed Hat Local Security Checks
critical
33510RHEL 3 / 5 : php (RHSA-2008:0544)NessusRed Hat Local Security Checks
critical
33232Fedora 8 : php-5.2.6-2.fc8 (2008-3864)NessusFedora Local Security Checks
critical
33231Fedora 9 : php-5.2.6-2.fc9 (2008-3606)NessusFedora Local Security Checks
critical
29833PHP < 4.4.8 Multiple VulnerabilitiesNessusCGI abuses
high
28181PHP < 5.2.5 Multiple VulnerabilitiesNessusCGI abuses
medium