CVE-2015-2348
php: move_uploaded_file() NUL byte injection in file name
Severity
ModerateRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · March 2, 2015
Updated · June 28, 2026
Description
It was found that PHP move_uploaded_file() function did not properly handle file names with a NULL character. A remote attacker could possibly use this flaw to make a PHP script access unexpected files and bypass intended file system access restrictions.
Statement
This issue does not affect the current php and php53 packages in Red Hat Enterprise Linux 5 and 6, as it was previously corrected as part of the fix for CVE-2006-7243.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 2.0 · 4AV:N/AC:H/Au:N/C:P/I:N/A:P
CWE-626 · Null Byte Interaction Error (Poison Null Byte)