National Cyber Awareness System
Vulnerability Summary for CVE-2007-2727
Original release date:05/16/2007
Last revised:11/06/2012
Source:
US-CERT/NIST
Overview
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
CVSS Severity (version 2.0):
Impact Subscore:
2.9
Exploitability Subscore:
4.9
CVSS Version 2 Metrics:
Access Vector: Network exploitable
Access Complexity: High
Authentication: Not required to exploit
Impact Type:Allows unauthorized disclosure of information
Official Statement from Red Hat (06/26/2008)
Not vulnerable. This issue did not affect the versions of php as shipped with Red Hat Enterprise Linux 2.1, 3, 4, or 5, or Red Hat
Application Stack 1, or 2, as the packages shipped are not compiled with the mcrypt extension affected by this issue.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.
External Source: MISC
Name: http://www.fortheloot.com/public/mcrypt.patch
Type: Patch Information; Exploit
External Source: BID
Name: 23984
External Source: CONFIRM
Name: http://www.php.net/ChangeLog-5.php
External Source: OSVDB
Name: 36087
External Source: CONFIRM
Name: 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
External Source: CONFIRM
Name: http://bugs.php.net/bug.php?id=40999
External Source: SUSE
Name: SUSE-SR:2007:015
External Source: MANDRIVA
Name: MDKSA-2007:187
External Source: SECUNIA
Name: 26895