PT-2007-2848 · Php · Php

Publicado

2007-03-14

·

Atualizado

2008-09-05

·

CVE-2007-1454

CVSS v2.0

4.3

Média

VetorAV:N/AC:M/Au:N/C:N/I:P/A:N
Name of the Vulnerable Software and Affected Versions PHP version 5.2.0
Description The issue allows remote attackers to conduct cross-site scripting (XSS) attacks. This is possible because the ext/filter in PHP does not properly strip HTML tags when FILTER SANITIZE STRING is used with the FILTER FLAG STRIP LOW flag, specifically with HTML containing a '<' character followed by certain whitespace characters. This can lead to a situation where the filter passes the input but it is collapsed into a valid tag, thus enabling the XSS attack.
Recommendations For PHP version 5.2.0, consider disabling the use of FILTER SANITIZE STRING with the FILTER FLAG STRIP LOW flag until a proper fix is available, or apply alternative sanitization methods to prevent XSS attacks.

Correção

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Identificadores relacionados

CVE-2007-1454
DSA-1283-1
DTSA-39-1

Produtos afetados

Php