7.8
CWE
78 20
Advisory Published
Updated

CVE-2018-0307: OS Command Injection

First published: Wed 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.

Credit: ykramarz@cisco.com

Affected SoftwareAffected VersionHow to fix
Cisco NX-OS>=6.0<7.3\(3\)n1\(1\)
Cisco Nexus 5000 firmware
Cisco Nexus 5010
Cisco Nexus 5020
Cisco Nexus 5548P Firmware
Cisco Nexus 5548UP Firmware
Cisco Nexus 5596T Firmware
Cisco Nexus 5596UP Firmware
Cisco 56128p
Cisco Nexus 5624Q Firmware
Cisco Nexus 5648Q Firmware
Cisco Nexus 5672UP-16G
Cisco Nexus 5696Q Firmware
Cisco NX-OS>=6.2<8.1\(2\)
Cisco NX-OS=8.2
Cisco Nexus 7000
Cisco Nexus 7700 series
Cisco NX-OS<7.0\(3\)i3
Cisco NX-OS>=7.0\(3\)i4<7.0\(3\)i7\(1\)
Cisco Nexus 92160YC Switch
Cisco Nexus 92304QC Switch
Cisco Nexus 9236C Switch
Cisco Nexus 9272Q Switch
Cisco Nexus
Cisco Nexus 93120TX Firmware
Cisco Nexus 93128 Firmware
Cisco Nexus 93180YC-EX-24
Cisco Nexus 9332PQ Firmware
Cisco Nexus 9372PX-E
Cisco Nexus 9372TX
Cisco Nexus 9396PX Firmware
Cisco Nexus 9396TX Firmware
Cisco Nexus 9504 firmware
Cisco Nexus 9508
Cisco Nexus 9516 firmware
Cisco Nexus 9508
Cisco x9636q-r
Cisco Nexus X9636Q-R
Cisco Nexus 172tq-xl
Cisco Nexus 3016Q Firmware
Cisco Nexus 3048 Firmware
Cisco Nexus 3064
Cisco Nexus 3064
Cisco Nexus 3064x
Cisco Nexus 3100V Firmware
Cisco Nexus 31128PQ
Cisco Nexus 3132C-Z Firmware
Cisco Nexus 3132Q-XL
Cisco Nexus 3132Q-X/3132Q-XL
Cisco Nexus 3132Q-XL Firmware
Cisco Nexus 3164Q Firmware
Cisco Nexus 3172PQ/PQ-XL
Cisco Nexus 3172PQ-XL Firmware
Cisco Nexus 3172TQ Firmware
Cisco Nexus 3172TQ-XL
Cisco Nexus 3232C
Cisco Nexus 3264C-E Firmware
Cisco Nexus 3264Q Firmware
Cisco Nexus 34180YC Firmware
Cisco Nexus 3524-xl
Cisco Nexus 3524-XL Firmware
Cisco Nexus 3548-X/XL Firmware
Cisco Nexus 3548-X/XL
Cisco Nexus 3548-X/XL
Cisco Nexus 3636C-R Firmware
Cisco Nexus 36180YC-R
Cisco Nexus 6001P Firmware
Cisco Nexus 6001T Firmware
Cisco NX-OS=7.0
Cisco Nexus 9500 Series

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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).

  • Can CVE-2018-0307 be exploited remotely?

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203