CVE-2018-0171: Cisco IOS and IOS XE · Remote code execution
Exploitation: In the wild · CVSS 7.5 High · Unauthenticated · Published 2018-03-28
Description
A vulnerability in the Smart Install feature of Cisco IOS Software and Cisco IOS XE Software could allow an unauthenticated, remote attacker to trigger a reload of an affected device, resulting in a denial of service (DoS) condition, or to execute arbitrary code on an affected device. The vulnerability is due to improper validation of packet data. An attacker could exploit this vulnerability by sending a crafted Smart Install message to an affected device on TCP port 4786. A successful exploit could allow the attacker to cause a buffer overflow on the affected device, which could have the following impacts: Triggering a reload of the device, Allowing the attacker to execute arbitrary code on the device, Causing an indefinite loop on the affected device that triggers a watchdog crash. Cisco Bug IDs: CSCvg76186.
Enclave's analysis
Cisco Smart Install has no authentication built in, so anyone who can reach TCP/4786 on a client switch can send it crafted packets. Cisco says that can crash the device or let an attacker run code via a buffer overflow. Public tools like SIET already let attackers pull configs and credentials from these devices with zero skill needed, and state-linked groups have abused this flaw for persistent espionage from 2018 through 2025. Patch or disable Smart Install (no vstack) now.
Fix
Upgrade to Per Cisco advisory cisco-sa-20180328-smi2 (March 2018); or disable the feature with 'no vstack' / restrict TCP/4786 via ACL.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| Cisco IOS and IOS XE Software — Smart Install client feature | Releases with Smart Install client enabled that lack the fix for Cisco bug CSCvg76186 (effectively all pre-patch IOS/IOS XE builds with Smart Install active) | Per Cisco advisory cisco-sa-20180328-smi2 (March 2018); or disable the feature with 'no vstack' / restrict TCP/4786 via ACL |