PT-2015-3248

CVE-2015-4598

·

Publicado

2015-06-17

·

Atualizado

2019-04-22

Descrição por

CVSS 2.0
7.5
Alta
MétricasAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions PHP versions prior to 5.4.42 PHP versions 5.5.x prior to 5.5.26 PHP versions 5.6.x prior to 5.6.10
Description The issue is related to the lack of checking for %00 sequences in path names, which can be exploited by a remote attacker to read or write to arbitrary files. This can be achieved by providing specially crafted input to an application that uses the DOMDocument save method or the GD imagepsloadfont function. For example, an attack using a filename like filename0.html could bypass intended configuration restrictions, such as only allowing clients to write to .html files.
Recommendations For PHP versions prior to 5.4.42, update to version 5.4.42 or later. For PHP versions 5.5.x prior to 5.5.26, update to version 5.5.26 or later. For PHP versions 5.6.x prior to 5.6.10, update to version 5.6.10 or later. As a temporary workaround, consider restricting the use of the DOMDocument save method and the GD imagepsloadfont function until a patch is applied.
Explorabilidade
Correção
Impactos
Pesquisadores
Fornecedores
Produtos afetados
Enumeração de fraquezas
Identificadores relacionados
CESA-2015_1135
CESA-2015_1218
DLA-307-1
DSA-3344-1
MGASA-2015-0258
OPENSUSE-SU-2015_1197-1
RHSA-2015:1135
RHSA-2015_1135
RHSA-2015:1186
RHSA-2015:1187
RHSA-2015:1218
RHSA-2015_1218
RHSA-2015:1219
SUSE-SU-2015:1253-1
SUSE-SU-2015:1253-2
SUSE-SU-2016:1638-1
USN-2658-1
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾