CVE-2018-0307: OS Command Injection

Published Jun 20, 2018
·
Updated

A vulnerability in the CLI 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, authenticated as a privileged user, to execute arbitrary commands with root privileges. Note: On products that support multiple virtual device contexts (VDC), this vulnerability could allow an attacker to access files from any VDC. This vulnerability affects 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: CSCve51704, CSCve91749, CSCve91768.

Affected Software

70 affected components
Cisco NX-OS>=6.0<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>=6.2<8.1\(2\)
Cisco NX-OS=8.2
Cisco Nexus 7000
Cisco Nexus 7700
Cisco NX-OS<7.0\(3\)i3
Cisco NX-OS>=7.0\(3\)i4<7.0\(3\)i7\(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 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 6001p
Cisco Nexus 6001t
Cisco NX-OS=7.0
Cisco Nexus 9500

Event History

Jun 20, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
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-0307?

CVE-2018-0307 has a critical severity due to its potential to allow command injection by authenticated local attackers.

2

How do I fix CVE-2018-0307?

To fix CVE-2018-0307, update the affected Cisco NX-OS Software to the latest version where the vulnerability is patched.

3

Which Cisco NX-OS versions are affected by CVE-2018-0307?

CVE-2018-0307 affects Cisco NX-OS versions from 6.0 up to 7.3(3)n1(1) and from 6.2 up to 8.1(2).

4

Can CVE-2018-0307 be exploited remotely?

No, CVE-2018-0307 can only be exploited by an authenticated local attacker.

5

What are the potential impacts of exploiting CVE-2018-0307?

Exploitation of CVE-2018-0307 may lead to unauthorized access and modification of system commands on affected devices.

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