CVE-2016-4072
CRITICALPHP < 5.5.34, 5.6.x < 5.6.20, 7.x < 7.0.5 - Remote Code Execution via Phar Filename Handling
Title source: manualDescription
The Phar extension in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5 allows remote attackers to execute arbitrary code via a crafted filename, as demonstrated by mishandling of \0 characters by the phar_analyze_path function in ext/phar/phar.c.
References (17)
Core 17
Core References
Vendor Advisory vendor-advisory
x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-2952-1
Vendor Advisory x_refsource_confirm
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149
Vendor Advisory x_refsource_confirm
http://www.php.net/ChangeLog-7.php
Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/201611-22
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT206567
Vendor Advisory vendor-advisory
x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-2750.html
Third Party Advisory vendor-advisory
x_refsource_debian
http://www.debian.org/security/2016/dsa-3560
Vendor Advisory vendor-advisory
x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-2952-2
Various Sources x_refsource_confirm
https://bugs.php.net/bug.php?id=71860
Mailing List vendor-advisory
x_refsource_apple
http://lists.apple.com/archives/security-announce/2016/May/msg00004.html
Vendor Advisory x_refsource_confirm
http://www.php.net/ChangeLog-5.php
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/85993
Vendor Advisory x_refsource_confirm
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722
Various Sources x_refsource_confirm
https://git.php.net/?p=php-src.git%3Ba=commit%3Bh=1e9b175204e3286d64dfd6c9f09151c31b5e099a
Various Sources x_refsource_confirm
https://gist.github.com/smalyshev/80b5c2909832872f2ba2
Vendor Advisory x_refsource_confirm
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731
Mailing List mailing-list
x_refsource_mlist
http://www.openwall.com/lists/oss-security/2016/04/24/1
Scores
CVSS v3
9.8
EPSS
0.1114
EPSS Percentile
93.6%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-20
Status
published
Products (30)
apple/mac_os_x
< 10.11.4
php/php
5.6.0 alpha1 (9 CPE variants)
php/php
5.6.1
php/php
5.6.2
php/php
5.6.3
php/php
5.6.4
php/php
5.6.5
php/php
5.6.6
php/php
5.6.7
php/php
5.6.8
... and 20 more
Published
May 20, 2016
Tracked Since
Feb 18, 2026