CVE-2018-0182 Command injection in Cisco IOS XE
Authenticated local attackers can inject commands into the CLI to escape to the Linux shell and execute arbitrary commands with root privileges.
- 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-0182?
CVE-2018-0182 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 inject arbitrary commands into the CLI of the affected software, which could allow the attacker to gain access to the underlying Linux shell of an affected device and execute commands with root privileges on the device. The vulnerabilities exist because the affected software does not sufficiently sanitize command arguments before passing commands to the Linux shell for execution. An attacker could exploit these vulnerabilities by submitting a malicious CLI command to the affected software. A successful exploit could allow the attacker to break from the CLI of the affected software, which could allow the attacker to gain access to the underlying Linux shell on an affected device and execute arbitrary commands with root privileges on the device. Cisco Bug IDs: CSCuz03145, CSCuz56419, CSCva31971, CSCvb09542.
Weakness: CWE-78
Which versions are affected by CVE-2018-0182?
It affects 1 product.
Products include Cisco Ios Xe.
How do I fix CVE-2018-0182?
No fix has been published for CVE-2018-0182 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-0182 being exploited?
There is no known exploitation of CVE-2018-0182 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-h894-8m56-q8jv.