Vulnerability Name:

CVE-2018-0307 (CCN-145175)

Assigned:2017-11-27
Published:2018-06-20
Updated:2020-09-04
Summary: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.
CVSS v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
8.2 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H)
7.1 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): High
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.2 High (CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
6.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-78
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2018-0307

Source: SECTRACK
Type: Third Party Advisory, VDB Entry
1041169

Source: XF
Type: UNKNOWN
cisco-cve20180307-command-exec(145175)

Source: CCN
Type: Cisco Security Advisory cisco-sa-20180620-nx-os-cli-injection
Cisco NX-OS Software CLI Arbitrary Command Injection Vulnerability

Source: CONFIRM
Type: Vendor Advisory
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180620-nx-os-cli-injection

Vulnerable Configuration:Configuration 1:
  • cpe:/o:cisco:nx-os:*:*:*:*:*:*:*:* (Version >= 6.0 and < 7.3(3)n1(1))
  • AND
  • cpe:/h:cisco:nexus_5000:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_5010:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_5020:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_5548p:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_5548up:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_5596t:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_5596up:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_56128p:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_5624q:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_5648q:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_5672up:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_5696q:-:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:cisco:nx-os:*:*:*:*:*:*:*:* (Version >= 6.2 and < 8.1(2))
  • OR cpe:/o:cisco:nx-os:8.2:*:*:*:*:*:*:*
  • AND
  • cpe:/h:cisco:nexus_7000:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_7700:-:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/o:cisco:nx-os:*:*:*:*:*:*:*:* (Version < 7.0(3)i3)
  • OR cpe:/o:cisco:nx-os:*:*:*:*:*:*:*:* (Version >= 7.0(3)i4 and < 7.0(3)i7(1))
  • AND
  • cpe:/h:cisco:nexus_92160yc-x:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_92304qc:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9236c:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9272q:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_93108tc-ex:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_93120tx:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_93128tx:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_93180yc-ex:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9332pq:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9372px:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9372tx:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9396px:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9396tx:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9504:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9508:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_9516:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_n9k-c9508-fm-r:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_n9k-x9636c-r:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_n9k-x9636q-r:-:*:*:*:*:*:*:*

  • Configuration 4:
  • cpe:/o:cisco:nx-os:*:*:*:*:*:*:*:* (Version < 7.0(3)i3)
  • OR cpe:/o:cisco:nx-os:*:*:*:*:*:*:*:* (Version >= 7.0(3)i4 and < 7.0(3)i7(1))
  • AND
  • cpe:/h:cisco:nexus_172tq-xl:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3016:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3048:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3064-32t:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3064-t:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3064-x:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3100-v:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_31128pq:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3132c-z:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3132q:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3132q-x:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3132q-xl:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3164q:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3172pq:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3172pq-xl:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3172tq:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3172tq-32t:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3232c:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3264c-e:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3264q:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_34180yc:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3524-x:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3524-xl:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3548:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3548-x:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3548-xl:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_3636c-r:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_c36180yc-r:-:*:*:*:*:*:*:*

  • Configuration 5:
  • cpe:/o:cisco:nx-os:*:*:*:*:*:*:*:* (Version >= 6.0 and < 7.3(3)n1(1))
  • AND
  • cpe:/h:cisco:nexus_6001p:-:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_6001t:-:*:*:*:*:*:*:*

  • Configuration 6:
  • cpe:/o:cisco:nx-os:7.0:*:*:*:*:*:*:*
  • AND
  • cpe:/h:cisco:nexus_9500:-:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:cisco:nx-os:4.0(0)n1(1a):*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    cisco nx-os *
    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 *
    cisco nx-os 8.2
    cisco nexus 7000 -
    cisco nexus 7700 -
    cisco nx-os *
    cisco nx-os *
    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 *
    cisco nx-os *
    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 nx-os *
    cisco nexus 6001p -
    cisco nexus 6001t -
    cisco nx-os 7.0
    cisco nexus 9500 -
    cisco nx-os 4.0\(0\)n1\(1a\)