SecurityContext

CVE-2007-2727: PHP - Weak Cryptography

  • Cve: CVE-2007-2727
  • Name: PHP - Weak Cryptography
  • 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.
  • Impact: Attackers can predict IVs, potentially leading to easier decryption of encrypted data and compromising confidentiality.
  • Remediation: Update PHP to version 4.4.7, 5.2.1, or later versions where this issue is fixed.
  • Vulnerability type: weak_cryptography
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 2.6
  • Cvss vector: CVSS:2.0/AV:N/AC:H/Au:N/C:P/I:N/A:N
  • Epss score: 0.01896
  • Epss percentile: 0.80178
  • Assignee: [email protected]
  • Published at: 2007-05-16T22:30:00Z
  • Age in days: 7132
  • Modified at: 2026-06-16T22:40:11Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 7
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2007-2727
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
NVD-CWE-Other—

Public exploits

UrlSourceAdded date
http://www.fortheloot.com/public/mcrypt.patchnvd2007-05-16

References

Same in every row:

  • Source: nvd
UrlTags
http://www.fortheloot.com/public/mcrypt.patchExploit, Patch, Third Party Advisory
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.91.2.3.2.10Vendor Advisory
http://www.php.net/ChangeLog-5.phpVendor Advisory
http://www.novell.com/linux/security/advisories/2007_15_sr.htmlThird Party Advisory
http://www.securityfocus.com/bid/23984Third Party Advisory, VDB Entry

Products

ProductAffectedPlatform boundSourcesUrl
php:php>= 5.0.0, < 5.2.2; >= 4.4.0, < 4.4.7; = 4.3.11; = 4.3.10; = 4.3.9; = 4.3.8; = 4.3.7; = 4.3.6; = 4.3.5; = 4.3.4; = 4.3.3; = 4.3.2; = 4.3.1; = 4.3.0; = 4.2.3; = 4.2.2; = 4.2.1; = 4.2.0; = 4.1.2; = 4.1.1; = 4.1.0; = 4.0.7; = 4.0.7 rc1; = 4.0.7 rc2; = 4.0.7 rc3; = 4.0.6; = 4.0.5; = 4.0.4; = 4.0.3; = 4.0.3 patch1; = 4.0.2; = 4.0.1; = 4.0.1 patch1; = 4.0.1 patch2nonvd/v1/products/php/php

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2007-05-16
  • Remote: yes
  • Exposed hosts: 6175026
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports