Stackurity Start free trial

CVEs / CVE-2017-6740

CVE-2017-6740: Cisco IOS and IOS XE Software SNMP Remote Code Execution Vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2017-6740

Summary

The Simple Network Management Protocol (SNMP) subsystem of Cisco IOS and IOS XE contains a vulnerability that could allow an authenticated, remote attacker to remotely execute code on an affected system or cause an affected system to reload.

CISA, Known Exploited Vulnerabilities catalog

Description

The Simple Network Management Protocol (SNMP) subsystem of Cisco IOS and IOS XE Software contains multiple vulnerabilities that could allow an authenticated, remote attacker to remotely execute code on an affected system or cause an affected system to reload. An attacker could exploit these vulnerabilities by sending a crafted SNMP packet to an affected system via IPv4 or IPv6. Only traffic directed to an affected system can be used to exploit these vulnerabilities. The vulnerabilities are due to a buffer overflow condition in the SNMP subsystem of the affected software. The vulnerabilities affect all versions of SNMP - Versions 1, 2c, and 3. 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. A successful exploit could allow the attacker to execute arbitrary code and obtain full control of the affected system or cause the affected system to reload. Customers are advised to apply the workaround as contained in the Workarounds section below. Fixed software information is available via the Cisco IOS Software Checker. All devices that have enabled SNMP and have not explicitly excluded the affected MIBs or OIDs should be considered vulnerable. There are workarounds that address these vulnerabilities.

The CVE record, via NVD · published 17 Jul 2017 · NVD status: Analyzed

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Cisco IOS12.2(14)ZA—
Cisco IOS12.2(14)ZA3—
Cisco IOS12.2(14)ZA2—
Cisco IOS12.2(14)ZA5—
Cisco IOS12.2(14)ZA4—
Cisco IOS12.2(14)ZA6—
Cisco IOS12.2(14)ZA7—
Cisco IOS12.2(25)SE2—
Cisco IOS12.2(29)SV2—
Cisco IOS12.2(17d)SXB6—
Cisco IOS12.2(17d)SXB11—
Cisco IOS12.2(17d)SXB7—
Cisco IOS12.2(17d)SXB4—
Cisco IOS12.2(17d)SXB2—
Cisco IOS12.2(17d)SXB3—
Cisco IOS12.2(17d)SXB5—
Cisco IOS12.2(17d)SXB10—
Cisco IOS12.2(17d)SXB8—
Cisco IOS12.2(17d)SXB11a—
Cisco IOS12.2(17d)SXB1—
Cisco IOS12.2(17d)SXB9—
Cisco IOS12.2(18)SO1—
Cisco IOS12.2(18)SO3—
Cisco IOS12.2(18)SO2—
Cisco IOS12.2(18)SXF—
Cisco IOS12.2(18)SXF5—
Cisco IOS12.2(18)SXF6—
Cisco IOS12.2(18)SXF15—
Cisco IOS12.2(18)SXF10—
Cisco IOS12.2(18)SXF17b—

Exploitation

In CISA KEV since3 Mar 2022
Due date for US federal agencies24 Mar 2022
Used in ransomware campaignsUnknown
Required actionApply updates per vendor instructions.

Severity

CVSS 3.18.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by NVD
WeaknessCWE-119

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.