Vulnerability in PHP

CVE-2007-2727

The mcrypt_create_iv function in ext/mcrypt/mcrypt.c in PHP before 4.4.7, 5.2.1, and possibly 5.0.x and other PHP 5 versions, calls php_rand_r with an uninitialized seed variable and therefore always generates the same initialization vector (IV), which might allow context-dependent attackers to decrypt certain data more easily because of the guessable encryption keys.

Published · last modified .

CVSS v2 metric

CVSS v2 base score 2.6 (Low). Vector: AV:N/AC:H/Au:N/C:P/I:N/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS 0.019, 80.0th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • PHP — versions 4.0.1, 4.0.2, 4.0.3

Public exploits and proof-of-concept code

Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2007-2727). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References