Cisco IOS SNMP Packet Handling Remote Buffer Overflow Multiple RCE (cisco-sa-20170629-snmp)

high Nessus Plugin ID 101268
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote device is missing a vendor-supplied security patch.

Description

According to its self-reported version and configuration, the Cisco IOS software running on the remote device is affected by multiple remote code execution vulnerabilities in the Simple Network Management Protocol (SNMP) subsystem due to multiple buffer overflow conditions.
An unauthenticated, remote attacker can exploit these vulnerabilities, via a specially crafted SNMP packet, to execute arbitrary code.

To exploit these vulnerabilities via SNMP version 2c or earlier, the attacker must know the SNMP read-only community string for the affected system. To exploit these vulnerabilities via SNMP version 3, the attacker must have user credentials for the affected system.

Solution

Upgrade to the relevant fixed version referenced in Cisco Security Advisory cisco-sa-20170629-snmp. Alternatively, as a workaround, disable the following MIBs on the device :

- ADSL-LINE-MIB
- ALPS-MIB
- CISCO-ADSL-DMT-LINE-MIB
- CISCO-BSTUN-MIB
- CISCO-MAC-AUTH-BYPASS-MIB
- CISCO-SLB-EXT-MIB
- CISCO-VOICE-DNIS-MIB
- CISCO-VOICE-NUMBER-EXPANSION-MIB
- TN3270E-RT-MIB

See Also

http://www.nessus.org/u?564e08f8

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCve54313

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCve57697

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCve60276

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCve60376

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCve60402

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCve60507

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCve66540

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCve66601

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCve66658

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCve78027

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCve89865

Plugin Details

Severity: High

ID: 101268

File Name: cisco-sa-20170629-snmp-ios.nasl

Version: 1.12

Type: combined

Family: CISCO

Published: 7/7/2017

Updated: 12/1/2020

Dependencies: cisco_ios_version.nasl

Configuration: Enable paranoid mode

Risk Information

CVSS Score Source: CVE-2017-6744

VPR

Risk Factor: Critical

Score: 9

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

Vector: AV:N/AC:L/Au:S/C:C/I:C/A:C

Temporal Vector: E:POC/RL:OF/RC:C

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:cisco:ios

Required KB Items: Host/Cisco/IOS/Version, Settings/ParanoidReport

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/29/2017

Vulnerability Publication Date: 6/29/2017

Reference Information

CVE: CVE-2017-6736, CVE-2017-6737, CVE-2017-6738, CVE-2017-6739, CVE-2017-6740, CVE-2017-6741, CVE-2017-6742, CVE-2017-6743, CVE-2017-6744

BID: 99345