CVE-2016-4072

Impact:
Moderate
Public Date:
2016-03-19
IAVA:
2016-B-0160
CWE:
CWE-787
Bugzilla:
1323106: CVE-2016-4072 php: Invalid memory write in phar on filename containing \0 inside name

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2016-4072 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

Base Score 4.1
Base Metrics AV:L/AC:M/Au:S/C:P/I:P/A:P
Access Vector Local
Access Complexity Medium
Authentication Single
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial

CVSS v3 metrics

CVSS3 Base Score 4.5
CVSS3 Base Metrics CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Attack Vector Local
Attack Complexity High
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality Low
Integrity Impact Low
Availability Impact Low

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-php56-php) RHSA-2016:2750 2016-11-15
Red Hat Software Collections for Red Hat Enterprise Linux 6 (rh-php56-php) RHSA-2016:2750 2016-11-15

Affected Packages State

Platform Package State
Red Hat Software Collections for Red Hat Enterprise Linux php55-php Will not fix
Red Hat Software Collections for Red Hat Enterprise Linux php54-php Will not fix
Red Hat Enterprise Linux 7 php Will not fix
Red Hat Enterprise Linux 6 php Will not fix
Red Hat Enterprise Linux 5 php53 Will not fix
Red Hat Enterprise Linux 5 php Not affected
Last Modified

CVE description copyright © 2017, The MITRE Corporation