CVE-2016-4072

Public on 2016-05-03
Modified on 2016-05-03
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.
Severity
Medium severity
Medium
CVSS v3 Base Score
4.5
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 php55 2016-05-03 ALAS-2016-698 Fixed
Amazon Linux 1 php56 2016-05-03 ALAS-2016-698 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv2 4.1 AV:L/AC:M/Au:S/C:P/I:P/A:P
Amazon Linux CVSSv3 4.5 CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
NVD CVSSv2 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
NVD CVSSv3 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H