PT-2016-2093 · Php+1 · Php+1

Vvvaagn

·

Published

2016-04-21

·

Updated

2018-01-05

·

CVE-2016-4072

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions PHP versions prior to 5.5.34 PHP versions 5.6.x prior to 5.6.20 PHP versions 7.x prior to 7.0.5
Description The issue arises from insufficient input validation in the Phar extension of PHP. This can be exploited by a remote attacker to execute arbitrary code using a specially crafted filename. The vulnerability is demonstrated by the mishandling of 0 characters by the phar analyze path function in ext/phar/phar.c.
Recommendations For PHP versions prior to 5.5.34, update to version 5.5.34 or later. For PHP versions 5.6.x prior to 5.6.20, update to version 5.6.20 or later. For PHP versions 7.x prior to 7.0.5, update to version 7.0.5 or later.

Exploit

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2016-01445
CVE-2016-4072
DLA-499-1
DSA-3560-1
RHSA-2016:2750
USN-2952-1
USN-2984-1

Affected Products

Php
Ubuntu