CVE-2016-4072Improper Input Validation in Apple MAC OS X

Severity
9.8CRITICALNVD
OSV7.3
EPSS
11.1%
top 6.49%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 20
Latest updateMay 14

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages4 packages

Ubuntuphp5/php5< 5.5.9+dfsg-1ubuntu4.17+1
NVDapple/mac_os_x10.11.4
NVDphp/php58 versions+57

🔴Vulnerability Details

3
GHSA
GHSA-j2xj-f75j-96w3: The Phar extension in PHP before 52022-05-14
OSV
php5, php7.0 vulnerabilities2016-05-24
OSV
CVE-2016-4072: The Phar extension in PHP before 52016-04-25

📋Vendor Advisories

3
Ubuntu
PHP vulnerabilities2016-05-24
Red Hat
php: Invalid memory write in phar on filename containing \0 inside name2016-03-19
Apple
CVE-2016-4072: OS X El Capitan v10.11.5 and Security Update 2016-003

💬Community

2
Bugzilla
CVE-2016-4072 php: Invalid memory write in phar on filename containing \0 inside name [fedora-all]2016-04-01
Bugzilla
CVE-2016-4072 php: Invalid memory write in phar on filename containing \0 inside name2016-04-01