CVEs / CVE-2017-6738
CVE-2017-6738: Cisco IOS and IOS XE Software SNMP Remote Code Execution Vulnerability
- Known exploited in the CISA KEV catalog since 3 Mar 2022
- high 8.8 CVSS 3.1 (NVD)
- EPSS 10.8% chance of exploitation in the next 30 days, higher than 95% of CVEs (30 Oct 2026)
- Last changed at its sources
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-6738
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.
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.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Cisco IOS | 12.2(53)SE1 | — |
| Cisco IOS | 12.2(55)SE | — |
| Cisco IOS | 12.2(50)SE2 | — |
| Cisco IOS | 12.2(50)SE1 | — |
| Cisco IOS | 12.2(50)SE5 | — |
| Cisco IOS | 12.2(53)SE | — |
| Cisco IOS | 12.2(55)SE3 | — |
| Cisco IOS | 12.2(55)SE2 | — |
| Cisco IOS | 12.2(52)SE | — |
| Cisco IOS | 12.2(58)SE | — |
| Cisco IOS | 12.2(50)SE3 | — |
| Cisco IOS | 12.2(55)SE1 | — |
| Cisco IOS | 12.2(53)SE2 | — |
| Cisco IOS | 12.2(52)SE1 | — |
| Cisco IOS | 12.2(54)SE | — |
| Cisco IOS | 12.2(50)SE4 | — |
| Cisco IOS | 12.2(50)SE | — |
| Cisco IOS | 12.2(58)SE1 | — |
| Cisco IOS | 12.2(55)SE4 | — |
| Cisco IOS | 12.2(58)SE2 | — |
| Cisco IOS | 12.2(55)SE5 | — |
| Cisco IOS | 12.2(55)SE6 | — |
| Cisco IOS | 12.2(55)SE7 | — |
| Cisco IOS | 12.2(55)SE8 | — |
| Cisco IOS | 12.2(55)SE9 | — |
| Cisco IOS | 12.2(55)SE10 | — |
| Cisco IOS | 12.2(55)SE11 | — |
| Cisco IOS | 12.2(53)EX | — |
| Cisco IOS | 12.2(52)EX | — |
| Cisco IOS | 12.2(55)EX | — |
Exploitation
| In CISA KEV since | 3 Mar 2022 |
|---|---|
| Due date for US federal agencies | 24 Mar 2022 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply updates per vendor instructions. |
Severity
| CVSS 3.1 | 8.8 highCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-119 |
References
- CVE-2017-6738 on NVD
- CVE-2017-6738 in the CISA KEV catalog
- https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170629-snmp Vendor Advisory
- http://www.securityfocus.com/bid/99345 Broken Link, Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1038808 Broken Link, Third Party Advisory, VDB Entry
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170629-snmp Vendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-6738 US Government Resource
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.