CVE-2018-0171 Cisco IOS and IOS XE Software Smart Install Remote Code Execution

Exploited in the wild High 7.5 Published Updated

Unauthenticated remote attackers can trigger a buffer overflow via crafted Smart Install messages, leading to arbitrary code execution or device reload.

Exploited in the wild
Since 3 Nov 2021
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-0171?

CVE-2018-0171 is a high-severity memory corruption vulnerability in Cisco Ios, published on 28 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-787, CWE-20

Which versions are affected by CVE-2018-0171?

It affects 1 product.

Products include Cisco Ios.

How do I fix CVE-2018-0171?

No fix has been published for CVE-2018-0171 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 3 May 2022.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-0171 being exploited?

Yes. Attackers have exploited CVE-2018-0171 in the wild since at least 3 Nov 2021.

Public exploit code: 1 Exploit-DB entry, 1 Nuclei template and 1 proofs of concept on GitHub.

All Cisco Ios vulnerabilities

Sources

Also known as GHSA-4w6g-87mh-x63x.

Is CVE-2018-0171 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free