Vulnerability 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.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 4.4.0, < 4.4.7 |
References
- http://blog.php-security.org/archives/80-Watching-the-PHP-CVS.htmlVendor Advisory
- http://bugs.php.net/bug.php?id=40999Vendor Advisory
- http://cvs.php.net/viewvc.cgi/php-src/ext/mcrypt/mcrypt.c?r1=1.91.2.3.2.9&r2=1.9Vendor Advisory
- http://osvdb.org/36087Broken Link
- http://secunia.com/advisories/26895Broken Link
- http://www.fortheloot.com/public/mcrypt.patchExploitPatchThird Party Advisory
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:187Broken Link
- http://www.novell.com/linux/security/advisories/2007_15_sr.htmlThird Party Advisory
- http://www.php.net/ChangeLog-5.phpVendor Advisory
- http://www.securityfocus.com/bid/23984Third Party AdvisoryVDB Entry
- http://blog.php-security.org/archives/80-Watching-the-PHP-CVS.htmlVendor Advisory
- http://bugs.php.net/bug.php?id=40999Vendor Advisory
- http://cvs.php.net/viewvc.cgi/php-src/ext/mcrypt/mcrypt.c?r1=1.91.2.3.2.9&r2=1.9Vendor Advisory
- http://osvdb.org/36087Broken Link
- http://secunia.com/advisories/26895Broken Link
FAQ
What is CVE-2007-2727?
CVE-2007-2727 is a vulnerability with a CVSS score of 2.6 (LOW). 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 ...
How severe is CVE-2007-2727?
CVE-2007-2727 has been rated LOW with a CVSS base score of 2.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2007-2727?
Check the references section above for vendor advisories and patch information. Affected products include: Php Php.