CVE-2007-1777
What it 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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 15.5% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 15.5% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 15.5% · EPSS, next 30 days
- Record status
- Modified
Affected
- PHP 3.0
- PHP 3.0.1
- PHP 3.0.2
- PHP 3.0.3
- PHP 3.0.4
- PHP 3.0.5
- PHP 3.0.6
- PHP 3.0.7
Attack profile CVSS 2.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2007-1777.md and follow it. Check whether this project is affected by CVE-2007-1777. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.php-security.org/MOPB/MOPB-35-2007.html
- http://www.php-security.org/MOPB/MOPB-35-2007.html
References
- http://secunia.com/advisories/25025
- http://secunia.com/advisories/25062
- http://www.debian.org/security/2007/dsa-1282
- http://www.debian.org/security/2007/dsa-1283
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:130
- http://www.php-security.org/MOPB/MOPB-35-2007.html
- http://www.securityfocus.com/bid/23169
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33652
- http://secunia.com/advisories/25025
- http://secunia.com/advisories/25062
- http://www.debian.org/security/2007/dsa-1282
- http://www.debian.org/security/2007/dsa-1283
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:130
- http://www.php-security.org/MOPB/MOPB-35-2007.html
- http://www.securityfocus.com/bid/23169
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33652