What is Cisco Smart Install?
Smart Install is a legacy Cisco IOS feature built to automate zero-touch provisioning of new switches: a "director" switch pushes configuration and firmware images to client switches joining the network, with no authentication required by design so that a factory-fresh device could bootstrap itself. That same design choice — an unauthenticated management protocol listening on TCP/4786 — has made Smart Install one of the most consequential attack surfaces in Cisco's history, and CVE-2018-0171 is its worst outcome.
Overview
CVE-2018-0171 is a critical remote code execution vulnerability in the Smart Install feature of Cisco IOS and IOS XE Software. An unauthenticated, remote attacker who can reach the Smart Install listening port can send a crafted Smart Install message that triggers a stack-based buffer overflow, allowing the attacker to execute arbitrary code, or at minimum crash and reload the device. Because Smart Install requires no credentials, this is a full pre-authentication compromise path into core network infrastructure.
Technical Details
The root cause (CWE-20, improper input validation) lies in how the Smart Install Client protocol handler parses incoming messages on TCP/4786: certain malformed messages overflow a fixed-size buffer, corrupting adjacent memory in a way that can be leveraged for arbitrary code execution rather than a simple crash. Because Smart Install is unauthenticated by architecture, the only prerequisite for an attacker is network reachability to port 4786 — no valid session, credential, or prior foothold is required, and the attack is a single crafted TCP payload.
Discovery
Smart Install's insecure-by-design exposure had already drawn scrutiny before this specific bug: security researchers at Embedi published detailed analysis of Smart Install protocol weaknesses, and Cisco had issued earlier advisories (including a 2017 warning) about internet-exposed Smart Install instances being scanned and abused. Cisco fixed the underlying buffer overflow as part of its March 2018 IOS/IOS XE security advisory.
Exploitation Context
CVE-2018-0171 became one of the most consequential network-infrastructure vulnerabilities of 2018. Weeks after the patch, US-CERT, the FBI, and the UK's National Cyber Security Centre issued a rare joint technical alert (TA18-106A) warning that Russian state-sponsored actors were actively exploiting Smart Install and related weaknesses to compromise routers, switches, firewalls, and other network infrastructure devices worldwide — targeting government, private-sector, and critical-infrastructure organizations for espionage and to stage further attacks. The same period saw mass internet scans finding hundreds of thousands of Smart Install-exposed devices, and the feature was separately implicated as an entry vector explored around the same time as the VPNFilter malware campaign against SOHO and small-business network equipment. CISA's KEV catalog entry confirms this specific CVE has continued to see exploitation well after initial disclosure, which is why it carries an unusually long remediation runway in BOD 22-01.
Remediation
- Disable Smart Install entirely with
no vstackon every device that does not require it for active provisioning — Cisco's primary recommendation regardless of patch status. - Apply the Cisco-published fixed IOS/IOS XE software release.
- Block TCP/4786 at the network perimeter and between internal segments using access control lists if the feature cannot be immediately disabled.
- Audit device configurations and running images for unauthorized changes, which could indicate a Smart Install-based compromise already occurred.
- Review TA18-106A's broader guidance on network infrastructure hardening, since Smart Install was one of several protocols (alongside SNMP, Telnet, and others) abused in the same campaign.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2018-0171 |
| Vendor / Product | Cisco — IOS and IOS XE |
| NVD Published | 2018-03-28 |
| NVD Last Modified | 2026-01-14 |
| CVSS 3.1 Score | 9.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Severity | CRITICAL |
| CWE | CWE-20 find similar ↗ |
| CISA KEV Added | 2021-11-03 |
| CISA KEV Deadline | 2022-05-03 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2018-03-28 | Cisco published a security advisory and fixed software addressing the Smart Install RCE vulnerability |
| 2018-04-16 | US-CERT/CISA, FBI, and UK NCSC issued joint alert TA18-106A on Russian state-sponsored exploitation of Smart Install and related network device vulnerabilities |
| 2021-11-03 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2022-05-03 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| NVD — CVE-2018-0171 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |
| US-CERT/CISA Alert TA18-106A — Russian State-Sponsored Cyber Actors Targeting Network Infrastructure Devices | US Government |