CVE-2007-2727
Last modified
CVE-2007-2727 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 1.86% chance of exploitation in the next 30 days.
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.
Metrics
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 4.4.0, < 4.4.7 |
| Php | Php | >= 5.0.0, < 5.2.2 |
| Php | Php | 4.0.1 |
| Php | Php | 4.0.2 |
| Php | Php | 4.0.3 |
| Php | Php | 4.0.4 |
| Php | Php | 4.0.5 |
| Php | Php | 4.0.6 |
| Php | Php | 4.0.7 |
| Php | Php | 4.1.0 |
| Php | Php | 4.1.1 |
| Php | Php | 4.1.2 |
| Php | Php | 4.2.0 |
| Php | Php | 4.2.1 |
| Php | Php | 4.2.2 |
| Php | Php | 4.2.3 |
| Php | Php | 4.3.0 |
| Php | Php | 4.3.1 |
| Php | Php | 4.3.2 |
| Php | Php | 4.3.3 |
| Php | Php | 4.3.4 |
| Php | Php | 4.3.5 |
| Php | Php | 4.3.6 |
| Php | Php | 4.3.7 |
| Php | Php | 4.3.8 |
| Php | Php | 4.3.9 |
| Php | Php | 4.3.10 |
| Php | Php | 4.3.11 |
References
- http://bugs.php.net/bug.php?id=40999Vendor Advisory
- http://osvdb.org/36087Broken Link
- http://secunia.com/advisories/26895Broken Link
- http://www.fortheloot.com/public/mcrypt.patchExploit, Patch, Third Party Advisory
- 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 Advisory, VDB Entry
- http://bugs.php.net/bug.php?id=40999Vendor Advisory
- http://osvdb.org/36087Broken Link
- http://secunia.com/advisories/26895Broken Link
- http://www.fortheloot.com/public/mcrypt.patchExploit, Patch, Third Party Advisory
- 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 Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2007-2727?
How severe is CVE-2007-2727?
How do I fix CVE-2007-2727?
Are you affected by CVE-2007-2727?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
