Vulnerability in PHP
CVE-2007-1777
Integer overflow in the zip_read_entry function in PHP 4 before 4.4.5 allows remote attackers to execute arbitrary code via a ZIP archive that contains an entry with a length value of 0xffffffff, which is incremented before use in an emalloc call, triggering a heap overflow.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.155, 96.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 3.0, 3.0.1, 3.0.2
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (mudongliang/LinuxFlaw, oneoy/cve-). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- DSA-1283 (vendor-advisory)
- www.php-security.org/MOPB/MOPB-35-2007.html (Exploit, Vendor Advisory)
- secunia.com/advisories/25062 (third-party-advisory)
- www.securityfocus.com/bid/23169 (Exploit, vdb-entry)
- php-zipreadentry-bo(33652) (vdb-entry)
- DSA-1282 (vendor-advisory)
- MDVSA-2008:130 (vendor-advisory)
- secunia.com/advisories/25025 (third-party-advisory)