CVE-2017-6740Cisco IOS and IOS XE Software SNMP Remote Code Execution Vulnerability
CVSS score
8.8
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
11.1%
11.1% chance of exploitation in the next 30 days, higher than 96.0% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 3 Mar 2022.
US federal deadline to fix: 24 Mar 2022.
Official 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.
Source: NVD · CNA: psirt@cisco.com
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 3 Mar 2022.
US federal agencies must fix it by 24 Mar 2022. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Cisco Ios, Cisco Ios Xe, IntelliShield Universal Product and compare its version with the affected versions.
Apply the vendor's fix
The official record doesn't name a fixed version. The vendor's advisory describes the fix:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Cisco Ios | ≥ 12.0, ≤ 12.4 · ≥ 15.0, ≤ 15.6 · 12.2(14)ZA · 12.2(14)ZA3 · 12.2(14)ZA2 · 12.2(14)ZA5 |
| Cisco Ios Xe | ≥ 2.2.0, ≤ 3.17 |
| IntelliShield Universal Product | N/A |
Weakness
- CWE-119 memory corruption
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2017-6740 being exploited?
Yes. CISA added CVE-2017-6740 to its Known Exploited Vulnerabilities catalog on 3 Mar 2022, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 11.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2017-6740?
CVE-2017-6740 has a CVSS 3.1 base score of 8.8 (high).
Which versions are affected?
Cisco Ios (≥ 12.0, ≤ 12.4; ≥ 15.0, ≤ 15.6; 12.2(14)ZA; 12.2(14)ZA3; 12.2(14)ZA2; 12.2(14)ZA5), Cisco Ios Xe (≥ 2.2.0, ≤ 3.17), Intellishield Universal Product (N/A)
Is there a patch for CVE-2017-6740?
The official record links to vendor advisories or patches; see “What to do” above.
References
- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170629-snmp(Vendor Advisory)
- sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170629-snmp(US Government Resource)
- www.securityfocus.com/bid/99345(Broken Link, Third Party Advisory, VDB Entry)
- www.securitytracker.com/id/1038808(Broken Link, Third Party Advisory, VDB Entry)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-6740(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.