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

high Nessus Plugin ID 101268

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.19

Type: combined

Family: CISCO

Published: 7/7/2017

Updated: 9/26/2023

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 9.4

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7.8

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

CVSS Score Source: CVE-2017-6744

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.4

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

Temporal Vector: CVSS:3.0/E:H/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

CISA Known Exploited Vulnerability Due Dates: 3/24/2022, 5/10/2023

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