ARRIS / Motorola SBG6580 Cable Modem SNMP Enumeration Module - Metasploit
This page contains detailed information about how to use the auxiliary/scanner/snmp/sbg6580_enum metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: ARRIS / Motorola SBG6580 Cable Modem SNMP Enumeration Module
Module: auxiliary/scanner/snmp/sbg6580_enum
Source code: modules/auxiliary/scanner/snmp/sbg6580_enum.rb
Disclosure date: -
Last modification time: 2020-06-11 13:09:25 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 161
List of CVEs: -
This module allows SNMP enumeration of the ARRIS / Motorola SURFboard SBG6580 Series Wi-Fi Cable Modem Gateway. It supports the username and password for the device user interface as well as wireless network keys and information. The default community used is "public".
Module Ranking and Traits
Module Ranking:
- normal: The exploit is otherwise reliable, but depends on a specific version and can't (or doesn't) reliably autodetect. More information about ranking can be found here.
Basic Usage
This module is a scanner module, and is capable of testing against multiple hosts.
msf > use auxiliary/scanner/snmp/sbg6580_enum
msf auxiliary(sbg6580_enum) > show options
... show and set options ...
msf auxiliary(sbg6580_enum) > set RHOSTS ip-range
msf auxiliary(sbg6580_enum) > exploit
Other examples of setting the RHOSTS option:
Example 1:
msf auxiliary(sbg6580_enum) > set RHOSTS 192.168.1.3-192.168.1.200
Example 2:
msf auxiliary(sbg6580_enum) > set RHOSTS 192.168.1.1/24
Example 3:
msf auxiliary(sbg6580_enum) > set RHOSTS file:/tmp/ip_list.txt
Required Options
- RHOSTS: The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
Go back to menu.
Msfconsole Usage
Here is how the scanner/snmp/sbg6580_enum auxiliary module looks in the msfconsole:
msf6 > use auxiliary/scanner/snmp/sbg6580_enum
msf6 auxiliary(scanner/snmp/sbg6580_enum) > show info
Name: ARRIS / Motorola SBG6580 Cable Modem SNMP Enumeration Module
Module: auxiliary/scanner/snmp/sbg6580_enum
License: Metasploit Framework License (BSD)
Rank: Normal
Provided by:
Matthew Kienow <[email protected]>
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
COMMUNITY public yes SNMP Community String
RETRIES 1 yes SNMP Retries
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 161 yes The target port (UDP)
THREADS 1 yes The number of concurrent threads (max one per host)
TIMEOUT 1 yes SNMP Timeout
VERSION 2c yes SNMP Version <1/2c>
Description:
This module allows SNMP enumeration of the ARRIS / Motorola
SURFboard SBG6580 Series Wi-Fi Cable Modem Gateway. It supports the
username and password for the device user interface as well as
wireless network keys and information. The default community used is
"public".
References:
https://seclists.org/fulldisclosure/2014/May/79
http://www.arrisi.com/modems/datasheet/SBG6580/SBG6580_UserGuide.pdf
OSVDB (110555)
Module Options
This is a complete list of options available in the scanner/snmp/sbg6580_enum auxiliary module:
msf6 auxiliary(scanner/snmp/sbg6580_enum) > show options
Module options (auxiliary/scanner/snmp/sbg6580_enum):
Name Current Setting Required Description
---- --------------- -------- -----------
COMMUNITY public yes SNMP Community String
RETRIES 1 yes SNMP Retries
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 161 yes The target port (UDP)
THREADS 1 yes The number of concurrent threads (max one per host)
TIMEOUT 1 yes SNMP Timeout
VERSION 2c yes SNMP Version <1/2c>
Advanced Options
Here is a complete list of advanced options supported by the scanner/snmp/sbg6580_enum auxiliary module:
msf6 auxiliary(scanner/snmp/sbg6580_enum) > show advanced
Module advanced options (auxiliary/scanner/snmp/sbg6580_enum):
Name Current Setting Required Description
---- --------------- -------- -----------
CHOST no The local client address
CPORT no The local client port
ShowProgress true yes Display progress messages during a scan
ShowProgressPercent 10 yes The interval in percent that progress should be shown
VERBOSE false no Enable detailed status messages
WORKSPACE no Specify the workspace for this module
Auxiliary Actions
This is a list of all auxiliary actions that the scanner/snmp/sbg6580_enum module can do:
msf6 auxiliary(scanner/snmp/sbg6580_enum) > show actions
Auxiliary actions:
Name Description
---- -----------
Evasion Options
Here is the full list of possible evasion options supported by the scanner/snmp/sbg6580_enum auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(scanner/snmp/sbg6580_enum) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
Go back to menu.
Error Messages
This module may fail with the following error messages:
Check for the possible causes from the code snippets below found in the module source code. This can often times help in identifying the root cause of the problem.
<IP> does not appear to be a SBG6580.
Here is a relevant code snippet related to the "<IP> does not appear to be a SBG6580." error message:
200: line << sprintf("%s%s: %s\n", k, " "*([0,width-k.length].max), v)
201: }
202:
203: print_line(line)
204: else
205: print_error("#{ip} does not appear to be a SBG6580.")
206: end
207:
208: rescue SNMP::RequestTimeout
209: print_error("#{ip} SNMP request timeout.")
210: rescue Rex::ConnectionError
<IP> SNMP request timeout.
Here is a relevant code snippet related to the "<IP> SNMP request timeout." error message:
204: else
205: print_error("#{ip} does not appear to be a SBG6580.")
206: end
207:
208: rescue SNMP::RequestTimeout
209: print_error("#{ip} SNMP request timeout.")
210: rescue Rex::ConnectionError
211: print_error("#{ip} Connection refused.")
212: rescue SNMP::InvalidIpAddress
213: print_error("#{ip} Invalid IP Address. Check it with 'snmpwalk tool'.")
214: rescue SNMP::UnsupportedVersion
<IP> Connection refused.
Here is a relevant code snippet related to the "<IP> Connection refused." error message:
206: end
207:
208: rescue SNMP::RequestTimeout
209: print_error("#{ip} SNMP request timeout.")
210: rescue Rex::ConnectionError
211: print_error("#{ip} Connection refused.")
212: rescue SNMP::InvalidIpAddress
213: print_error("#{ip} Invalid IP Address. Check it with 'snmpwalk tool'.")
214: rescue SNMP::UnsupportedVersion
215: print_error("#{ip} Unsupported SNMP version specified. Select from '1' or '2c'.")
216: rescue ::Interrupt
<IP> Invalid IP Address. Check it with 'snmpwalk tool'.
Here is a relevant code snippet related to the "<IP> Invalid IP Address. Check it with 'snmpwalk tool'." error message:
208: rescue SNMP::RequestTimeout
209: print_error("#{ip} SNMP request timeout.")
210: rescue Rex::ConnectionError
211: print_error("#{ip} Connection refused.")
212: rescue SNMP::InvalidIpAddress
213: print_error("#{ip} Invalid IP Address. Check it with 'snmpwalk tool'.")
214: rescue SNMP::UnsupportedVersion
215: print_error("#{ip} Unsupported SNMP version specified. Select from '1' or '2c'.")
216: rescue ::Interrupt
217: raise $!
218: rescue ::Exception => e
<IP> Unsupported SNMP version specified. Select from '1' or '2c'.
Here is a relevant code snippet related to the "<IP> Unsupported SNMP version specified. Select from '1' or '2c'." error message:
210: rescue Rex::ConnectionError
211: print_error("#{ip} Connection refused.")
212: rescue SNMP::InvalidIpAddress
213: print_error("#{ip} Invalid IP Address. Check it with 'snmpwalk tool'.")
214: rescue SNMP::UnsupportedVersion
215: print_error("#{ip} Unsupported SNMP version specified. Select from '1' or '2c'.")
216: rescue ::Interrupt
217: raise $!
218: rescue ::Exception => e
219: print_error("Unknown error: #{e.class} #{e}")
220: elog(e)
Unknown error: <E.CLASS> <E>
Here is a relevant code snippet related to the "Unknown error: <E.CLASS> <E>" error message:
214: rescue SNMP::UnsupportedVersion
215: print_error("#{ip} Unsupported SNMP version specified. Select from '1' or '2c'.")
216: rescue ::Interrupt
217: raise $!
218: rescue ::Exception => e
219: print_error("Unknown error: #{e.class} #{e}")
220: elog(e)
221: ensure
222: disconnect_snmp
223: end
224: end
Go back to menu.
Related Pull Requests
- #13608 Merged Pull Request: Standardise Error Logging
- #10649 Merged Pull Request: Fix http://seclists.org links to https://
- #8716 Merged Pull Request: Print_Status -> Print_Good (And OCD bits 'n bobs)
- #8338 Merged Pull Request: Fix msf/core and self.class msftidy warnings
- #6812 Merged Pull Request: Resolve #6807, remove all OSVDB references.
- #6655 Merged Pull Request: use MetasploitModule as a class name
- #6648 Merged Pull Request: Change metasploit class names
- #4013 Merged Pull Request: A couple OSVDB updates for recent modules
- #3376 Merged Pull Request: Add ARRIS / Motorola SBG6580 Cable Modem SNMP Enumeration Module
References
- CVE: Not available
- https://seclists.org/fulldisclosure/2014/May/79
- http://www.arrisi.com/modems/datasheet/SBG6580/SBG6580_UserGuide.pdf
- OSVDB (110555)
See Also
Check also the following modules related to this module:
- exploit/linux/http/dlink_dcs931l_upload
- exploit/linux/http/grandstream_gxv3175_settimezone_unauth_cmd_exec
- exploit/linux/misc/cve_2020_13160_anydesk
- exploit/windows/local/cve_2020_1313_system_orchestrator
- exploit/windows/smb/ms04_031_netdde
- auxiliary/admin/http/netgear_r7000_backup_cgi_heap_overflow_rce
- auxiliary/dos/scada/d20_tftp_overflow
- auxiliary/dos/ssl/dtls_fragment_overflow
- auxiliary/dos/windows/smb/ms10_054_queryfs_pool_overflow
- auxiliary/scanner/telnet/telnet_encrypt_overflow
- exploit/multi/browser/adobe_flash_shader_job_overflow
- exploit/multi/browser/chrome_simplifiedlowering_overflow
- exploit/multi/browser/itms_overflow
- exploit/multi/ntp/ntp_overflow
- exploit/multi/upnp/libupnp_ssdp_overflow
- exploit/windows/browser/adobe_flash_casi32_int_overflow
- exploit/windows/fileformat/mswin_tiff_overflow
- exploit/windows/fileformat/nuance_pdf_launch_overflow
- exploit/windows/fileformat/wireshark_mpeg_overflow
- exploit/windows/ftp/filecopa_list_overflow
- exploit/windows/http/apache_modjk_overflow
- exploit/windows/http/badblue_ext_overflow
- exploit/windows/http/ibm_tpmfosd_overflow
- exploit/windows/http/maxdb_webdbm_get_overflow
- exploit/windows/http/minishare_get_overflow
- exploit/windows/http/navicopa_get_overflow
- exploit/windows/http/psoproxy91_overflow
- exploit/windows/http/trackercam_phparg_overflow
- exploit/windows/imap/mercur_imap_select_overflow
- exploit/windows/misc/asus_dpcproxy_overflow
- exploit/windows/misc/bomberclone_overflow
- exploit/windows/misc/tiny_identd_overflow
- exploit/windows/smtp/ypops_overflow1
Authors
Matthew Kienow <mkienow[at]inokii.com>
Version
This page has been produced using Metasploit Framework version 6.1.27-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.