CVE-2018-0176 Command injection in Cisco IOS XE
Authenticated local attackers can execute arbitrary commands with root privileges on Cisco IOS XE devices via crafted CLI arguments.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-0176?
CVE-2018-0176 is a high-severity command injection vulnerability in Cisco Ios Xe, published on 28 Mar 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Multiple vulnerabilities in the CLI parser of Cisco IOS XE Software could allow an authenticated, local attacker to gain access to the underlying Linux shell of an affected device and execute arbitrary commands with root privileges on the device. The vulnerabilities are due to the affected software improperly sanitizing command arguments to prevent access to internal data structures on a device. An attacker who has user EXEC mode (privilege level 1) access to an affected device could exploit these vulnerabilities on the device by executing CLI commands that contain crafted arguments. A successful exploit could allow the attacker to gain access to the underlying Linux shell of the affected device and execute arbitrary commands with root privileges on the device. Cisco Bug IDs: CSCtw85441, CSCus42252, CSCuv95370.
Which versions are affected by CVE-2018-0176?
It affects 1 product.
Products include Cisco Ios Xe.
How do I fix CVE-2018-0176?
No fix has been published for CVE-2018-0176 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2018-0176 being exploited?
There is no known exploitation of CVE-2018-0176 in the wild and no public exploit code.
Other vulnerabilities in Cisco Ios Xe
- CVE-2023-20198 Cisco IOS XE Web UI Privilege Escalation
- CVE-2018-0151 Cisco IOS Software and Cisco IOS XE Software Quality of Service Remote Code Execution
- CVE-2023-20273 Cisco IOS XE Web UI Command Injection
- CVE-2025-20188 Hardcoded credentials in Cisco IOS XE Software
- CVE-2021-34770 Cisco IOS XE Software for Catalyst 9000 Family Wireless Controllers CAPWAP Remote Code Execution Vulnerability
Sources
Also known as GHSA-j4xm-4jpq-qhwx.