CVE-2015-2348

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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
8.262%
chance of exploitation in the next 30 days
higher than 95% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2015-03-30Published by the CNA10:00 UTC

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
php phpthrough 5.4.38no fix listed5.5.0no fix listed5.5.1no fix listed5.5.10no fix listed5.5.11no fix listed(+26 more)not listednot listednot listednot listednot listed
apple mac_os_xthrough 10.10.5no fix listednot listed
opensuse opensuse13.1no fix listed13.2no fix listednot listednot listed
redhat enterprise_linux_desktop7.0no fix listednot listed
redhat enterprise_linux_hpc_node7.0no fix listednot listed
redhat enterprise_linux_hpc_node_eus7.1no fix listednot listed
redhat enterprise_linux_server7.0no fix listednot listed
redhat enterprise_linux_server_eus7.1no fix listednot listed
redhat enterprise_linux_workstation7.0no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources