| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability was found in PHP up to 4.4.4. It has been classified as critical. Affected by this vulnerability is the function zip_read_entry of the component malloc. The manipulation leads to integer coercion.
This vulnerability is referenced as CVE-2007-1777. Furthermore, an exploit is available.
Upgrading the affected component is recommended.
Details
A vulnerability was found in PHP up to 4.4.4 (Programming Language Software) and classified as critical. This issue affects the function zip_read_entry of the component malloc. The manipulation with an unknown input leads to a integer coercion vulnerability. Using CWE to declare the problem leads to CWE-192. Integer coercion refers to a set of flaws pertaining to the type casting, extension, or truncation of primitive data types. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
The bug was discovered 03/27/2007. The weakness was published 03/29/2007 by Stefan Esser (Website). It is possible to read the advisory at debian.org. The identification of this vulnerability is CVE-2007-1777 since 03/29/2007. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known.
The exploit is available at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 2 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 25099 (Debian DSA-1282-1 : php4 - several vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l.
Upgrading to version 4.4.5 eliminates this vulnerability. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (33652), Exploit-DB (29788), Tenable (25099), SecurityFocus (BID 23169†) and OSVDB (33949†). Similar entries are available at VDB-35872, VDB-35694 and VDB-35446. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Integer coercionCWE: CWE-192 / CWE-189
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 25099
Nessus Name: Debian DSA-1282-1 : php4 - several vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 58334
OpenVAS Name: Debian Security Advisory DSA 1282-1 (php4)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: PHP 4.4.5
Timeline
03/27/2007 🔍03/27/2007 🔍
03/27/2007 🔍
03/29/2007 🔍
03/29/2007 🔍
03/29/2007 🔍
04/10/2007 🔍
04/26/2007 🔍
04/30/2007 🔍
04/30/2007 🔍
03/13/2015 🔍
04/19/2025 🔍
Sources
Product: php.orgAdvisory: debian.org
Researcher: Stefan Esser
Status: Confirmed
CVE: CVE-2007-1777 (🔍)
GCVE (CVE): GCVE-0-2007-1777
GCVE (VulDB): GCVE-100-35915
OVAL: 🔍
X-Force: 33652
SecurityFocus: 23169 - PHP Zip_Entry_Read() Integer Overflow Vulnerability
Secunia: 25025 - Debian update for php4, Moderately Critical
OSVDB: 33949 - CVE-2007-1777 - PHP - Integer Overflow Issue
Vulnerability Center: 14778 - PHP zip_read_entry Function Integer Overflow via Malicious ZIP Archive, High
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/13/2015 12:16Updated: 04/19/2025 21:41
Changes: 03/13/2015 12:16 (83), 07/17/2019 12:50 (5), 04/19/2025 21:41 (19)
Complete: 🔍
Cache ID: 216:968:103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.