CVE-2007-2727
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/05/2007
Last modified:
07/11/2022
Description
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.
Impact
Base Score 2.0
2.60
Severity 2.0
LOW
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 4.4.0 (including) | 4.4.7 (excluding) |
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 5.0.0 (including) | 5.2.2 (excluding) |
cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:4.0.1:patch1:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:4.0.1:patch2:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:4.0.3:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:4.0.3:patch1:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:4.0.7:rc1:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:4.0.7:rc2:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:4.0.7:rc3:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://blog.php-security.org/archives/80-Watching-the-PHP-CVS.html
- http://bugs.php.net/bug.php?id=40999
- http://cvs.php.net/viewvc.cgi/php-src/ext/mcrypt/mcrypt.c?r1=1.91.2.3.2.9&r2=1.91.2.3.2.10
- http://osvdb.org/36087
- http://secunia.com/advisories/26895
- http://www.fortheloot.com/public/mcrypt.patch
- http://www.mandriva.com/security/advisories?name=MDKSA-2007%3A187
- http://www.novell.com/linux/security/advisories/2007_15_sr.html
- http://www.php.net/ChangeLog-5.php
- http://www.securityfocus.com/bid/23984