CVE-2017-6736 — Cisco IOS and IOS XE Software SNMP Remote Code Execution Vulnerability

CVE-2017-6736

Cisco IOS and IOS XE — SNMP Subsystem Buffer Overflow via Crafted SNMP Packets Enables Authenticated RCE; Part of cisco-sa-20170629-snmp; HIGH 8.8

What Is Cisco IOS SNMP?

Simple Network Management Protocol (SNMP) is the standard protocol for network device monitoring and management, implemented in all Cisco IOS and IOS XE devices. SNMP uses community strings (version 1/2c) or user credentials (version 3) for authentication. In June 2017, Cisco disclosed a batch of buffer overflow vulnerabilities in the IOS SNMP subsystem — each affecting a different SNMP Object Identifier (OID) handler — collectively addressed by advisory cisco-sa-20170629-snmp. CVE-2017-6736 is one of multiple distinct CVEs in this advisory, each representing a separate OID-specific buffer overflow that can allow code execution or device reload.

Overview

Actively Exploited. This vulnerability has been added to CISA's Known Exploited Vulnerabilities (KEV) Catalog on March 3, 2022. Federal agencies are required to apply mitigations per BOD 22-01.

CVE-2017-6736 is one of multiple buffer overflow vulnerabilities in the SNMP subsystem of Cisco IOS and IOS XE disclosed in June 2017 advisory cisco-sa-20170629-snmp. The vulnerability affects a specific SNMP OID handler and can allow an attacker with a valid SNMP community string (v1/v2c) or user credentials (v3) to execute arbitrary code or cause a device reload. Related CVEs in the same advisory include CVE-2017-6737, 6738, 6739, 6740, 6742, 6743, and 6744, each affecting different OID handlers. CISA added CVE-2017-6736 to the KEV catalog in March 2022 reflecting nation-state exploitation of Cisco infrastructure vulnerabilities.

Affected Versions

Cisco IOS and IOS XE with SNMP enabled and using vulnerable OID handlers. Use the Cisco IOS Software Checker and advisory cisco-sa-20170629-snmp for specific version identification. All SNMP-enabled IOS versions before the patched releases in the advisory are potentially affected.

Technical Details

Root Cause: Buffer Overflow in SNMP OID Handler

CVE-2017-6736 is a buffer overflow vulnerability (CWE-119) in the Cisco IOS SNMP subsystem. The SNMP implementation processes incoming SNMP GET, SET, and other requests that reference specific OIDs. The handler for the OID associated with CVE-2017-6736 fails to validate the size of incoming SNMP data before copying it into a fixed-size buffer, enabling overflow of the buffer and potential control of instruction execution.

Privilege requirement (PR:L): Exploitation requires a valid SNMP community string (in SNMPv1/v2c) or SNMP v3 user credentials. SNMP community strings are often set to default values ("public", "private") or are weak and easily guessed — lowering the effective barrier for exploitation in practice.

The full SNMP advisory (cisco-sa-20170629-snmp): Cisco disclosed a total of 8+ distinct SNMP buffer overflow CVEs (6736-6744) in the same June 2017 advisory, each affecting a different OID. Organizations must apply the advisory patch to address all CVEs simultaneously — partial patching of individual OIDs is not possible.

Attribute Detail
Attack Vector Network — SNMP (UDP port 161)
Authentication SNMP community string or v3 credentials required (PR:L)
Impact RCE on network device or device reload
Full advisory cisco-sa-20170629-snmp covers CVE-2017-6736 through 6744

Exploitation Context

  • Nation-state network infrastructure targeting: The Cisco IOS SNMP vulnerabilities represent a class of attack specifically interesting to intelligence agencies — SNMP is a management protocol that gives insight into device state, routing tables, and configuration; buffer overflows in SNMP handlers provide persistent access to network infrastructure
  • Default SNMP community strings: Many enterprise networks still use default SNMP community strings ("public", "private"); combined with SNMP buffer overflows, default credentials eliminate the authentication barrier
  • CIA and NSA tooling: Intelligence agency toolkits have historically incorporated SNMP-based exploitation of network devices; the CISA KEV addition reflects government awareness of continued nation-state use of these vectors
  • CISA KEV (2022): Added March 3, 2022 alongside the other Cisco IOS SNMP CVEs from the same advisory

Remediation

CISA BOD 22-01 Deadline: March 24, 2022. Apply updates per vendor instructions.
  1. Apply Cisco IOS security update for cisco-sa-20170629-snmp — this single advisory patch addresses all SNMP CVEs (6736-6744); apply the appropriate IOS/IOS XE version per the advisory.

  2. Disable SNMP if not required — if SNMP monitoring is not in active use, disable the SNMP service (no snmp-server) to eliminate the entire attack surface.

  3. Use SNMPv3 with authentication and encryption — replace SNMPv1/v2c community strings with SNMPv3 users using authpriv security level; SNMPv3 with unique, complex credentials significantly raises the exploitation bar.

  4. Apply SNMP ACLs — restrict SNMP access to specific trusted management hosts:

    snmp-server community <string> RO <acl>
    
  5. Change all default SNMP community strings — replace "public" and "private" community strings immediately; default strings make PR:L effectively equivalent to PR:N.

Key Details

PropertyValue
CVE ID CVE-2017-6736
Vendor / Product Cisco — IOS and IOS XE Software
NVD Published2017-07-17
NVD Last Modified2025-10-22
CVSS 3.1 Score8.8
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SeverityHIGH
CWE CWE-119 — Improper Restriction of Operations within the Bounds of a Memory Buffer find similar ↗
CISA KEV Added2022-03-03
CISA KEV Deadline2022-03-24
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2022-03-24. Apply updates per vendor instructions.

Timeline

DateEvent
2017-06-29Cisco releases advisory cisco-sa-20170629-snmp covering multiple SNMP RCE vulnerabilities including CVE-2017-6736
2017-07-17CVE-2017-6736 published by NVD
2022-03-03Added to CISA Known Exploited Vulnerabilities catalog
2022-03-24CISA BOD 22-01 remediation deadline

References

ResourceType
NVD — CVE-2017-6736 Vulnerability Database
CISA KEV Catalog Entry US Government
Cisco Security Advisory cisco-sa-20170629-snmp Vendor Advisory