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.
2015-03-30T10:59:14.710
2025-04-12T10:46:40.837
Deferred
CVSSv2: 5.0 (MEDIUM)
AV:N/AC:L/Au:N/C:N/I:P/A:N
10.0
2.9
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Operating System | redhat | enterprise_linux_desktop | 7.0 | Yes |
Operating System | redhat | enterprise_linux_hpc_node | 7.0 | Yes |
Operating System | redhat | enterprise_linux_hpc_node_eus | 7.1 | Yes |
Operating System | redhat | enterprise_linux_server | 7.0 | Yes |
Operating System | redhat | enterprise_linux_server_eus | 7.1 | Yes |
Operating System | redhat | enterprise_linux_workstation | 7.0 | Yes |
Operating System | apple | mac_os_x | ≤ 10.10.5 | Yes |
Operating System | opensuse | opensuse | 13.1 | Yes |
Operating System | opensuse | opensuse | 13.2 | Yes |
Application | php | php | ≤ 5.4.38 | Yes |
Application | php | php | 5.5.0 | Yes |
Application | php | php | 5.5.0 | Yes |
Application | php | php | 5.5.0 | Yes |
Application | php | php | 5.5.0 | Yes |
Application | php | php | 5.5.0 | Yes |
Application | php | php | 5.5.0 | Yes |
Application | php | php | 5.5.0 | Yes |
Application | php | php | 5.5.0 | Yes |
Application | php | php | 5.5.0 | Yes |
Application | php | php | 5.5.0 | Yes |
Application | php | php | 5.5.0 | Yes |
Application | php | php | 5.5.0 | Yes |
Application | php | php | 5.5.0 | Yes |
Application | php | php | 5.5.1 | Yes |
Application | php | php | 5.5.2 | Yes |
Application | php | php | 5.5.3 | Yes |
Application | php | php | 5.5.4 | Yes |
Application | php | php | 5.5.5 | Yes |
Application | php | php | 5.5.6 | Yes |
Application | php | php | 5.5.7 | Yes |
Application | php | php | 5.5.8 | Yes |
Application | php | php | 5.5.9 | Yes |
Application | php | php | 5.5.10 | Yes |
Application | php | php | 5.5.11 | Yes |
Application | php | php | 5.5.12 | Yes |
Application | php | php | 5.5.13 | Yes |
Application | php | php | 5.5.14 | Yes |
Application | php | php | 5.5.15 | Yes |
Application | php | php | 5.5.16 | Yes |
Application | php | php | 5.5.17 | Yes |
Application | php | php | 5.5.18 | Yes |
Application | php | php | 5.5.19 | Yes |
Application | php | php | 5.5.20 | Yes |
Application | php | php | 5.5.21 | Yes |
Application | php | php | 5.5.22 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.0 | Yes |
Application | php | php | 5.6.1 | Yes |
Application | php | php | 5.6.2 | Yes |
Application | php | php | 5.6.3 | Yes |
Application | php | php | 5.6.4 | Yes |
Application | php | php | 5.6.5 | Yes |
Application | php | php | 5.6.6 | Yes |