CVE-2018-0171 Cisco IOS and IOS XE Software Smart Install Remote Code Execution
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.
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.
Other vulnerabilities in Cisco Ios
- CVE-2017-12240 Cisco IOS and IOS XE Software DHCP Remote Code Execution
- CVE-2017-3881 Cisco IOS and IOS XE Remote Code Execution
- CVE-2018-0167 Cisco IOS, XR, and XE Software Buffer Overflow
- CVE-2017-6736 Cisco IOS and IOS XE Software SNMP Remote Code Execution
- CVE-2017-6737 Cisco IOS and IOS XE Software SNMP Remote Code Execution
Sources
Also known as GHSA-4w6g-87mh-x63x.