CVE-2018-0306: OS Command Injection

Published Jun 21, 2018
·
Updated

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.

Affected Software

96 affected components
Cisco NX-OS<7.3\(3\)n1\(1\)
Cisco Nexus 5000
Cisco Nexus 5010
Cisco Nexus 5020
Cisco Nexus 5548p
Cisco Nexus 5548up
Cisco Nexus 5596t
Cisco Nexus 5596up
Cisco Nexus 56128p
Cisco Nexus 5624q
Cisco Nexus 5648q
Cisco Nexus 5672up
Cisco Nexus 5696q
Cisco NX-OS=8.1\(0.2\)s0
Cisco Nexus 7000
Cisco Nexus 7700
Cisco NX-OS=8.1\(0\)bd\(0.20\)
Cisco NX-OS=8.1\(0.59\)s0
Cisco NX-OS=8.1\(1\)
Cisco Nexus 92160yc-x
Cisco Nexus 92304qc
Cisco Nexus 9236c
Cisco Nexus 9272q
Cisco Nexus 93108tc-ex
Cisco Nexus 93120tx
Cisco Nexus 93128tx
Cisco Nexus 93180yc-ex
Cisco Nexus 9332pq
Cisco Nexus 9372px
Cisco Nexus 9372tx
Cisco Nexus 9396px
Cisco Nexus 9396tx
Cisco Nexus 9504
Cisco Nexus 9508
Cisco Nexus 9516
Cisco Nexus N9k-c9508-fm-r
Cisco Nexus N9k-x9636c-r
Cisco Nexus N9k-x9636q-r
Cisco NX-OS=6.0\(2\)a8\(3\)
Cisco Nexus 172tq-xl
Cisco Nexus 3016
Cisco Nexus 3048
Cisco Nexus 3064-32t
Cisco Nexus 3064-t
Cisco Nexus 3064-x
Cisco Nexus 3100-v
Cisco Nexus 31128pq
Cisco Nexus 3132c-z
Cisco Nexus 3132q
Cisco Nexus 3132q-x
Cisco Nexus 3132q-xl
Cisco Nexus 3164q
Cisco Nexus 3172pq
Cisco Nexus 3172pq-xl
Cisco Nexus 3172tq
Cisco Nexus 3172tq-32t
Cisco Nexus 3232c
Cisco Nexus 3264c-e
Cisco Nexus 3264q
Cisco Nexus 34180yc
Cisco Nexus 3524-x
Cisco Nexus 3524-xl
Cisco Nexus 3548
Cisco Nexus 3548-x
Cisco Nexus 3548-xl
Cisco Nexus 3636c-r
Cisco Nexus C36180yc-r
Cisco Nexus 2148t
Cisco Nexus 2224tp Ge
Cisco Nexus 2232pp 10ge
Cisco Nexus 2232tm-e 10ge
Cisco Nexus 2232tm 10ge
Cisco Nexus 2248pq 10ge
Cisco Nexus 2248tp-e
Cisco Nexus 2248tp Ge
Cisco Nexus 6001p
Cisco Nexus 6001t
Cisco NX-OS<5.2\(1\)sv3\(3.15\)
Cisco Nexus 1000v
Cisco Nexus 1110-s
Cisco Nexus 1110-x
Cisco NX-OS<8.1\(1a\)
Cisco Mds 9132t
Cisco Mds 9148
Cisco Mds 9148s
Cisco Mds 9148t
Cisco Mds 9222i
Cisco Mds 9250i
Cisco Mds 9396s
Cisco Mds 9396t
Cisco Mds 9506
Cisco Mds 9509
Cisco Mds 9513
Cisco Mds 9706
Cisco Mds 9710
Cisco Mds 9718

Event History

Jun 21, 2018
CVE Published
via MITRE·11:00 AM
Data Sourced
via MITRE·11:00 AM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-0306?

CVE-2018-0306 has a high severity level due to the potential for command injection attacks on affected Cisco NX-OS devices.

2

How do I fix CVE-2018-0306?

To fix CVE-2018-0306, upgrade your Cisco NX-OS software to a version that is not affected by this vulnerability.

3

What devices are affected by CVE-2018-0306?

CVE-2018-0306 affects Cisco NX-OS devices specifically running versions up to 7.3(3)n1(1) and various versions of Cisco NX-OS 8.1.

4

Can CVE-2018-0306 be exploited remotely?

No, CVE-2018-0306 requires local authentication for exploitation, limiting risk to users with local access.

5

What type of attack can CVE-2018-0306 lead to?

CVE-2018-0306 can lead to command injection attacks, which may allow an authenticated attacker to execute arbitrary commands on the affected device.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203