CVE-2016-10160
CRITICAL severity · CVSS 9.8 · CWE-193
9.8CVSS CRITICAL
Summary
Off-by-one error in the phar_parse_pharfile function in ext/phar/phar.c in PHP before 5.6.30 and 7.0.x before 7.0.15 allows remote attackers to cause a denial of service (memory corruption) or possibly execute arbitrary code via a crafted PHAR archive with an alias mismatch.
Impact & exploitability
Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Exploit probability (EPSS)7%
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Official patch: https://bugs.php.net/bug.php?id=73768 ↗
Additional information
- NVD record
- https://bugs.php.net/bug.php?id=73768Patch
- https://github.com/php/php-src/commit/b28b8b2fee6dfa6fcd13305c581bb835689ac3bePatch
- http://php.net/ChangeLog-5.phpAdvisory
- http://php.net/ChangeLog-7.phpAdvisory
- http://www.debian.org/security/2017/dsa-3783Advisory
- http://www.securityfocus.com/bid/95783Advisory
- http://www.securitytracker.com/id/1037659Advisory
- https://access.redhat.com/errata/RHSA-2018:1296Advisory