CVE-2015-7804
What it is
Off-by-one error in the phar_parse_zipfile function in ext/phar/zip.c in PHP before 5.5.30 and 5.6.x before 5.6.14 allows remote attackers to cause a denial of service (uninitialized pointer dereference and application crash) by including the / filename in a .zip PHAR archive.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 8.5% chance of exploitation in the next 30 days (EPSS).
- 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: 8.5% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 8.5% · EPSS, next 30 days
- Weakness
- CWE-189
- Record status
- Modified
Affected
- Apple Mac Os X ≤ 10.11.1
- PHP ≤ 5.5.29
- PHP 5.6.0
- PHP 5.6.1
- PHP 5.6.2
- PHP 5.6.3
- PHP 5.6.4
- PHP 5.6.5
Attack profile CVSS 2.0 · 6.8
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:M/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-2015-7804.md and follow it. Check whether this project is affected by CVE-2015-7804. 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
- https://bugs.php.net/bug.php?id=70433
- https://support.apple.com/HT205637
- https://bugs.php.net/bug.php?id=70433
- https://support.apple.com/HT205637
References
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=1ddf72180a52d247db88ea42a3e35f824a8fbda1
- http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html
- http://lists.opensuse.org/opensuse-updates/2016-01/msg00099.html
- http://www.debian.org/security/2015/dsa-3380
- http://www.openwall.com/lists/oss-security/2015/10/05/8
- http://www.php.net/ChangeLog-5.php
- http://www.securityfocus.com/bid/76959
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.461720
- http://www.ubuntu.com/usn/USN-2786-1
- https://bugs.php.net/bug.php?id=70433
- https://security.gentoo.org/glsa/201606-10
- https://support.apple.com/HT205637
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=1ddf72180a52d247db88ea42a3e35f824a8fbda1
- http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html
- http://lists.opensuse.org/opensuse-updates/2016-01/msg00099.html
- http://www.debian.org/security/2015/dsa-3380
- http://www.openwall.com/lists/oss-security/2015/10/05/8
- http://www.php.net/ChangeLog-5.php
- http://www.securityfocus.com/bid/76959
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.461720
- http://www.ubuntu.com/usn/USN-2786-1
- https://bugs.php.net/bug.php?id=70433
- https://security.gentoo.org/glsa/201606-10
- https://support.apple.com/HT205637