Cisco Smart Install Exposed

A Cisco switch accepts Smart Install messages on TCP port 4786 without authentication, letting anyone who can connect copy or replace its configuration and software.

SeverityCritical
CVSS 3.19.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Open in the calculator
CVSS 4.09.3 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Open in the calculator
CWECWE-306: Missing Authentication for Critical Function
OWASP Top 10A07:2025 Authentication Failures
MITRE ATT&CKT1602.002 Network Device Configuration Dump, T1601.001 Patch System Image, T1190 Exploit Public-Facing Application
CategoryBroken Access Control

Description

Smart Install is a Cisco feature for zero-touch deployment of switches. A switch acting as a Smart Install client listens on TCP port 4786 for instructions from a director switch, and the protocol has no authentication, so any host that can reach the port can send the same instructions. On many switch models and software releases the client is enabled by default, so switches that were never deliberately set up for Smart Install often expose it.

Cisco describes the abuse of this feature as misuse of the protocol rather than a software flaw. An unauthenticated message can make the switch change the TFTP server it uses, copy its startup configuration to a server chosen by the sender, replace its configuration or software image and reload, and on some releases run configuration commands. An attacker who can reach the port therefore needs no credentials or user interaction to obtain the switch's full configuration, which typically includes password hashes or reversible passwords, SNMP community strings and details of the network's design, or to take complete control of the switch by replacing its configuration or software. With that control, they can capture or redirect traffic passing through it, move between network segments and keep long-term, hard to detect access, or take the switch out of service.

Public tools, such as the Smart Install Exploitation Tool (SIET), automate these actions, and exposed Smart Install clients have been widely scanned for and abused, including by state-sponsored groups described in public government advisories. The feature has also been affected by separate software vulnerabilities, such as CVE-2018-0171, a buffer overflow that allows remote code execution or a reload.

The exposure is identified by a port scan showing TCP port 4786 open on network devices, and confirmed with tools that send a harmless Smart Install query and check the reply, or on the device with show vstack config, which shows whether the client role is enabled. Vulnerability scanners report it as Cisco Smart Install detected.

Remediation

Disable Smart Install wherever it is not actively used for deployment, which on most networks means every switch:

  • Run no vstack in global configuration mode on each switch, save the configuration, and verify with show vstack config. On older releases that do not support no vstack, block TCP port 4786 with an access list, as Cisco's guidance describes.
  • Block TCP port 4786 at the perimeter, and between user networks and the network device management range.
  • Upgrade to software that fixes CVE-2018-0171 and the other Smart Install vulnerabilities.
  • Where Smart Install is in use, allow port 4786 on clients only from the director, and disable the feature once deployment is complete.
  • Treat the configuration of any switch that was exposed as disclosed: change its local passwords, enable secret, SNMP communities and shared keys, and check its configuration and software image for unauthorised changes.
configure terminal no vstack end copy running-config startup-config show vstack config

Confirm the fix by scanning the switches again from the networks that previously had access and checking that TCP port 4786 no longer answers.

References


Add This Finding to Your Library

In Pental this write-up is in Settings, Library. Add to my library copies it into your own, rated in your firm's CVSS version, ready to put in your own words.

Free trial  ·  No card required

Only need the reporting? Our reporting tool is free and open source, with the same library.


More Network Services Findings

Every Network Services finding