CVE-2008-2108

critical

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://security.gentoo.org/glsa/glsa-200811-05.xml

http://securityreason.com/securityalert/3859

https://exchange.xforce.ibmcloud.com/vulnerabilities/42226

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

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

http://www.debian.org/security/2009/dsa-1789

http://www.ubuntu.com/usn/usn-628-1

Details

Source: Mitre, NVD

Published: 2008-05-07

Risk Information

CVSS v2

Base Score: 7.5

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

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical