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 (78.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 79th percentile — 78.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.019 · newest: 0.019 · change: +0.000
Affected products
- PHP — versions 4.0.1, 4.0.2, 4.0.3
Public proof-of-concept exploits
References
- www.securityfocus.com/bid/23984 (VDB Entry, Third Party Advisory, vdb-entry)
- www.fortheloot.com/public/mcrypt.patch (Exploit, Patch, Third Party Advisory)
- cvs.php.net/viewvc.cgi/php-src/ext/mcrypt/mcrypt.c (Vendor Advisory)
- blog.php-security.org/archives/80-Watching-the-PHP-CVS.html (Vendor Advisory)
- www.php.net/ChangeLog-5.php (Vendor Advisory)
- bugs.php.net/bug.php (Vendor Advisory)
- www.mandriva.com/security/advisories (vendor-advisory, Broken Link)
- secunia.com/advisories/26895 (Broken Link, third-party-advisory)
- www.novell.com/linux/security/advisories/2007_15_sr.html (vendor-advisory, Third Party Advisory)
- osvdb.org/36087 (vdb-entry, Broken Link)
Frequently asked questions
- What is CVE-2007-2727?
- CVE-2007-2727 is a vulnerability in PHP. Published 2007-05-16.
- Is CVE-2007-2727 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.