CVE-2016-4072

UnknownEPSS 5.93%

Last modified

CVE-2016-4072 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 5.93% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
5.93%

92.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
PhpPhp5.6.0Alpha1
PhpPhp5.6.1
PhpPhp5.6.2
PhpPhp5.6.3
PhpPhp5.6.4
PhpPhp5.6.5
PhpPhp5.6.6
PhpPhp5.6.7
PhpPhp5.6.8
PhpPhp5.6.9
PhpPhp5.6.10
PhpPhp5.6.11
PhpPhp5.6.12
PhpPhp5.6.13
PhpPhp5.6.14
PhpPhp5.6.15
PhpPhp5.6.16
PhpPhp5.6.17
PhpPhp5.6.18
PhpPhp5.6.19
PhpPhp7.0.0
PhpPhp7.0.1
PhpPhp7.0.2
PhpPhp7.0.3
PhpPhp7.0.4
AppleMac Os X<= 10.11.4
PhpPhp5.5.0
PhpPhp5.5.1
PhpPhp5.5.2
PhpPhp5.5.3
PhpPhp5.5.4
PhpPhp5.5.5
PhpPhp5.5.6
PhpPhp5.5.7
PhpPhp5.5.8
PhpPhp5.5.9
PhpPhp5.5.10
PhpPhp5.5.11
PhpPhp5.5.12
PhpPhp5.5.13
PhpPhp5.5.14
PhpPhp5.5.15
PhpPhp5.5.16
PhpPhp5.5.17
PhpPhp5.5.18
PhpPhp5.5.19
PhpPhp5.5.20
PhpPhp5.5.21
PhpPhp5.5.22
PhpPhp5.5.23

Showing 50 of 59 affected configurations. See NVD for the full list.

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2016-4072?
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.
How severe is CVE-2016-4072?
Severity scoring for CVE-2016-4072 is pending analysis. The EPSS model estimates a 5.93% probability of exploitation in the next 30 days.
How do I fix CVE-2016-4072?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2016-4072?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST