CVE-2015-2348

UnknownEPSS 8.65%

Last modified

CVE-2015-2348 is a vulnerability of currently unknown severity. The move_uploaded_file implementation in ext/standard/basic_functions.c in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 truncates a pathname upon encountering a \x00 character, which allows remote attackers to bypass intended extension restrictions and create files with unexpected names via a crafted second argument. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243.. EPSS estimates a 8.65% chance of exploitation in the next 30 days.

Description

The move_uploaded_file implementation in ext/standard/basic_functions.c in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 truncates a pathname upon encountering a \x00 character, which allows remote attackers to bypass intended extension restrictions and create files with unexpected names via a crafted second argument. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243.

Metrics

EPSS Probability
8.65%

94.4th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
RedhatEnterprise Linux Desktop7.0
RedhatEnterprise Linux Hpc Node7.0
RedhatEnterprise Linux Hpc Node Eus7.1
RedhatEnterprise Linux Server7.0
RedhatEnterprise Linux Server Eus7.1
RedhatEnterprise Linux Workstation7.0
AppleMac Os X<= 10.10.5
OpensuseOpensuse13.1
OpensuseOpensuse13.2
PhpPhp<= 5.4.38
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.6.0Alpha1
PhpPhp5.6.1
PhpPhp5.6.2
PhpPhp5.6.3
PhpPhp5.6.4
PhpPhp5.6.5
PhpPhp5.6.6

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2015-2348?
The move_uploaded_file implementation in ext/standard/basic_functions.c in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 truncates a pathname upon encountering a \x00 character, which allows remote attackers to bypass intended extension restrictions and create files with unexpected names via a crafted second argument. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243.
How severe is CVE-2015-2348?
Severity scoring for CVE-2015-2348 is pending analysis. The EPSS model estimates a 8.65% probability of exploitation in the next 30 days.
How do I fix CVE-2015-2348?
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-2015-2348?

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

Scan your code now

Source: NVD / NIST