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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2007
- CVE-2007-2721The jpc_qcx_getcompparms function in jpc/jpc_cs.c for the Ja…
- CVE-2007-2722Unspecified vulnerability in NewzCrawler 1.8 allows remote a…
- CVE-2007-2723Media Player Classic 6.4.9.0 allows user-assisted remote att…5.5
- CVE-2007-2724Cross-site scripting (XSS) vulnerability in all_photos.html …
- CVE-2007-2725The DB Software Laboratory DeWizardX (DEWizardAX.ocx) Active…
- CVE-2007-2726BitsCast 0.13.0 allows remote attackers to cause a denial of…
- CVE-2007-2728The soap extension in PHP calls php_rand_r with an uninitial…
- CVE-2007-2729Comodo Firewall Pro 2.4.18.184 and Comodo Personal Firewall …
- CVE-2007-2730Check Point ZoneAlarm Pro before 6.5.737.000 does not proper…
- CVE-2007-2731CRLF injection vulnerability in formmail.php in Jetbox CMS 2…
- CVE-2007-2732Multiple cross-site scripting (XSS) vulnerabilities in Jetbo…
- CVE-2007-2733Unrestricted file upload vulnerability in Jetbox CMS allows …
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
