Original description
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.
Affected software
- PHP = 7.0.2= 7.0.3= 5.5.0= 5.6.4= 5.6.18= 5.5.14 exact match
Details
- Published
- 2016-05-20
- Last modified
- 2024-08-06
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- cve.org/CVE-2016-4072
- nvd.nist.gov/vuln/detail/CVE-2016-4072
- www.ubuntu.com/usn/USN-2952-1
- h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149
- www.php.net/ChangeLog-7.php
- security.gentoo.org/glsa/201611-22
- support.apple.com/HT206567
- rhn.redhat.com/errata/RHSA-2016-2750.html
- www.debian.org/security/2016/dsa-3560
- www.ubuntu.com/usn/USN-2952-2
- bugs.php.net/bug.php?id=71860
- lists.apple.com/archives/security-announce/2016/May/msg00004.html
- www.php.net/ChangeLog-5.php
- www.securityfocus.com/bid/85993
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.