CVE-2018-0313 Command injection in Cisco NX-OS unknown
Authenticated attackers can execute arbitrary commands with root privileges on Cisco NX-OS devices via the NX-API feature, which is disabled by default.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-0313?
CVE-2018-0313 is a high-severity command injection vulnerability in Cisco Nx-Os, published on 21 Jun 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability in the NX-API feature of Cisco NX-OS Software could allow an authenticated, remote attacker to send a malicious packet to the management interface on an affected system and execute a command-injection exploit. The vulnerability is due to incorrect input validation of user-supplied data to the NX-API subsystem. An attacker could exploit this vulnerability by sending a malicious HTTP or HTTPS packet to the management interface of an affected system that has the NX-API feature enabled. A successful exploit could allow the attacker to execute arbitrary commands with root privileges. Note: NX-API is disabled by default. This vulnerability affects MDS 9000 Series Multilayer Switches, Nexus 2000 Series Fabric Extenders, Nexus 3000 Series Switches, Nexus 3500 Platform Switches, Nexus 5500 Platform Switches, Nexus 5600 Platform Switches, Nexus 6000 Series Switches, Nexus 7000 Series Switches, Nexus 7700 Series Switches, Nexus 9000 Series Switches in standalone NX-OS mode, Nexus 9500 R-Series Line Cards and Fabric Modules. Cisco Bug IDs: CSCvd47415, CSCve03216, CSCve03224, CSCve03234.
Which versions are affected by CVE-2018-0313?
It affects 1 product.
Products include Cisco Nx-Os.
How do I fix CVE-2018-0313?
No fix has been published for CVE-2018-0313 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-0313 being exploited?
There is no known exploitation of CVE-2018-0313 in the wild and no public exploit code.
Other vulnerabilities in Cisco Nx-Os
Sources
Also known as GHSA-c7v6-mhfv-qgg2.