CVE-2018-0306 Command injection in Cisco NX-OS unknown

High 7.8 Published Updated

Authenticated local attackers can inject commands into the CLI parser to execute arbitrary code with root privileges on affected Cisco switches.

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-0306?

CVE-2018-0306 is a high-severity command injection vulnerability in Cisco Nx-Os, published on 21 Jun 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability in the CLI parser of Cisco NX-OS Software could allow an authenticated, local attacker to perform a command-injection attack on an affected device. The vulnerability is due to insufficient input validation of command arguments. An attacker could exploit this vulnerability by injecting malicious command arguments into a vulnerable CLI command. A successful exploit could allow the attacker to execute arbitrary commands with root privileges on the affected device. Note: This vulnerability requires that any feature license is uploaded to the device. The vulnerability does not require that the license be used. This vulnerability affects MDS 9000 Series Multilayer Switches, Nexus 1000V Series Switches, Nexus 1100 Series Cloud Services Platforms, Nexus 2000 Series Fabric Extenders, Nexus 3000 Series Switches, Nexus 3500 Platform Switches, Nexus 3600 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: CSCve51693, CSCve91634, CSCve91659, CSCve91663.

Weakness: CWE-78, CWE-20

Which versions are affected by CVE-2018-0306?

It affects 1 product.

Products include Cisco Nx-Os.

How do I fix CVE-2018-0306?

No fix has been published for CVE-2018-0306 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-0306 being exploited?

There is no known exploitation of CVE-2018-0306 in the wild and no public exploit code.

All Cisco Nx-Os vulnerabilities

Sources

Also known as GHSA-mj78-xxvc-gcjm.

Is CVE-2018-0306 in your software?

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

Check your SBOMs for free