PT-2015-3250 · Php+4 · Php+4

Published

2015-06-23

·

Updated

2023-01-11

·

CVE-2015-3411

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions PHP versions prior to 5.4.40 PHP versions 5.5.x prior to 5.5.24 PHP versions 5.6.x prior to 5.6.8
Description The issue is related to the lack of checking for %00 sequences in pathnames, which could allow remote attackers to read or write to arbitrary files via crafted input to an application that calls certain functions, such as the DOMDocument load method, the xmlwriter open uri function, the finfo file function, or the hash hmac file function. This could be exploited by providing specially crafted input, such as a filename0.xml attack, to bypass intended configurations.
Recommendations For PHP versions prior to 5.4.40, update to version 5.4.40 or later. For PHP versions 5.5.x prior to 5.5.24, update to version 5.5.24 or later. For PHP versions 5.6.x prior to 5.6.8, update to version 5.6.8 or later. As a temporary workaround, consider restricting the use of the DOMDocument load method, the xmlwriter open uri function, the finfo file function, and the hash hmac file function until a patch is applied.

Exploit

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2016-01374
CESA-2015_1135
CESA-2015_1218
CVE-2015-3411
DLA-307-1
OPENSUSE-SU-2015_1197-1
RHSA-2015:1066
RHSA-2015:1135
RHSA-2015:1186
RHSA-2015:1187
RHSA-2015:1218
RHSA-2015_1135
RHSA-2015_1218
SUSE-SU-2015:1253-1
SUSE-SU-2015:1253-2
SUSE-SU-2015_1253-1
SUSE-SU-2015_1253-2
SUSE-SU-2015_1265-1
SUSE-SU-2016:1638-1
SUSE-SU-2023:0072-1
USN-2658-1

Affected Products

Centos
Php
Red Hat
Suse
Ubuntu