Patchfirst
CVE-2018-0171 KEVPublic exploit Critical · 9.8 EPSS 99.5%

Cisco IOS and IOS XE Software Smart Install Remote Code Execution Vulnerability

Cisco · IOS and IOS XE

Summary

The flaw is in the Smart Install feature of Cisco IOS and IOS XE Software, caused by improper validation of packet data. An unauthenticated remote attacker who can reach the device on TCP port 4786 can send a crafted Smart Install message that causes a buffer overflow, leading to either a device reload (denial of service) or arbitrary code execution, with no user interaction required.

Official description · NVD

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.

Breakdown
76.0 / 100
Exploited
Yes, in CISA KEV
Reports
2
Tactics
3/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 4 years after disclosure. Public exploit code (Exploit-DB) appeared 1 day after disclosure.

  1. Disclosedday 0
  2. Public exploit codeExploit-DB+1 day
  3. First seen exploitedVulnCheck KEV evidenceAdded to CISA KEVEU database agrees+4 yrs
  4. Named in a threat reportblog.talosintelligence.com+7 yrs

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

3 , grouped by in kill-chain order, 3 cited passages 3

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

Arbitrary code execution on device

Allowing the attacker to execute arbitrary code on the device
From the official description (NVD) Original (opens in a new tab) ↗

Lateral MovementTA0008

Exploitation of Remote Services T1210 Medium
AI mapping from the description · how it is exploited

Remote exploitation via crafted network message

An attacker could exploit this vulnerability by sending a crafted Smart Install message to an affected device on TCP port 4786
From the official description (NVD) Original (opens in a new tab) ↗

ImpactTA0040

Application or System Exploitation T1499.004 Medium
AI mapping from the description · primary impact

Reload causes denial of service

Triggering a reload of the device
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 113 general rules for its techniques

Rules for this CVE

0 that reference CVE-2018-0171 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Named in 2 threat reports
2 reportsCisco TalosCISAFeb 2025 · 1 undated

Reports are matched by finding the exact id CVE-2018-0171 in their text; nobody has reviewed the match. One passage is shown per report, at most 320 characters, linked to the original.

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

7 links, grouped by NVD tag (6 duplicates merged)
↑ ↓ chooseEnter openEsc close