CVE-2018-0171 in cisco ios

LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.

What the vulnerability is

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.

Affected software: cisco ios

Scores

What LogPulse has for it

How to mitigate it

Patch Cisco IOS and disable Smart Install (CVE-2018-0171)

Patch or upgrade. A buffer overflow in the Smart Install client gives code execution without login over TCP 4786. Fixed releases are in the Cisco advisory; disabling Smart Install removes the exposure.

Applies to: Cisco IOS and IOS XE devices with the Smart Install client enabled.

  1. Run show vstack config on every IOS and IOS XE switch to see if Smart Install is enabled.
  2. Disable it with no vstack where it is not used.
  3. Upgrade to a fixed release listed in Cisco advisory cisco-sa-20180328-smi2.
  4. Block TCP 4786 at the perimeter.
  5. Run a vulnerability scan to confirm the CVE is no longer reported.

Sources:

Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.

We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.

Start free with LogPulse