Vulnerability Name:

CVE-2018-0301 (CCN-145124)

Assigned:2017-11-27
Published:2018-06-20
Updated:2019-10-09
Summary:A vulnerability in the NX-API feature of Cisco NX-OS Software could allow an unauthenticated, remote attacker to craft a packet to the management interface on an affected system, causing a buffer overflow. The vulnerability is due to incorrect input validation in the authentication module of the NX-API subsystem. An attacker could exploit this vulnerability by sending a crafted HTTP or HTTPS packet to the management interface of an affected system with the NX-API feature enabled. An exploit could allow the attacker to execute arbitrary code as root.
Note: NX-API is disabled by default. This vulnerability affects: MDS 9000 Series Multilayer Switches, Nexus 2000 Series Fabric Extenders, Nexus 3000 Series Switches, Nexus 3500 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: CSCvd45804, CSCve02322, CSCve02412.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
9.8 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:10.0 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
10.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-119
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2018-0301

Source: BID
Type: Third Party Advisory, VDB Entry
104512

Source: CCN
Type: BID-104512
Cisco NX-OS Software NX-API CVE-2018-0301 Remote Code Execution Vulnerability

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

Source: XF
Type: UNKNOWN
cisco-nxos-cve20180301-bo(145124)

Source: CCN
Type: Cisco Security Advisory cisco-sa-20180620-nxos-bo
Cisco NX-OS Software NX-API Arbitrary Code Execution Vulnerability

Source: CONFIRM
Type: Vendor Advisory
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180620-nxos-bo

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 >= 7.2 and < 7.3(2)d1(1))
  • OR cpe:/o:cisco:nx-os:*:*:*:*:*:*:*:* (Version >= 8.0 and < 8.1(1))
  • OR cpe:/o:cisco:nx-os:8.1:*:*:*:*:*:*:*
  • 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)i4)
  • OR cpe:/o:cisco:nx-os:*:*:*:*:*:*:*:* (Version >= 7.0(3)i5 and < 7.0(3)i7(1))
  • OR cpe:/o:cisco:nx-os:7.0(3)i7:*:*:*:*:*:*:*
  • 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)i4)
  • OR cpe:/o:cisco:nx-os:*:*:*:*:*:*:*:* (Version >= 7.0(3)i5 and < 7.0(3)i7(1))
  • OR cpe:/o:cisco:nx-os:7.0(3)i7:*:*:*:*:*:*:*
  • 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:6.0:*:*:*:*:*:*:*
  • OR cpe:/o:cisco:nx-os:7.0:*:*:*:*:*:*:*
  • OR cpe:/o:cisco:nx-os:7.1:*:*:*:*:*:*:*
  • OR cpe:/o:cisco:nx-os:7.2:*:*:*:*:*:*:*
  • OR cpe:/o:cisco:nx-os:*:*:*:*:*:*:*:* (Version >= 7.3 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 7:
  • cpe:/o:cisco:nx-os:5.2:*:*:*:*:*:*:*
  • OR cpe:/o:cisco:nx-os:6.2:*:*:*:*:*:*:*
  • OR cpe:/o:cisco:nx-os:*:*:*:*:*:*:*:* (Version >= 7.3 and < 8.1(1))
  • OR cpe:/o:cisco:nx-os:8.1:*:*:*:*:*:*:*
  • OR cpe:/o:cisco:nx-os:8.2:*:*:*:*:*:*:*
  • AND
  • cpe:/h:cisco:mds_9000:-:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/h:cisco:nexus_3000:*:*:*:*:*:*:*:*
  • OR cpe:/h:cisco:nexus_2000:-:*:*:*:*:*:*:*

  • * 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 *
    cisco nx-os 8.1
    cisco nx-os 8.2
    cisco nexus 7000 -
    cisco nexus 7700 -
    cisco nx-os *
    cisco nx-os *
    cisco nx-os 7.0(3)i7
    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 nx-os 7.0(3)i7
    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 6.0
    cisco nx-os 7.0
    cisco nx-os 7.1
    cisco nx-os 7.2
    cisco nx-os *
    cisco nexus 6001p -
    cisco nexus 6001t -
    cisco nx-os 7.0
    cisco nexus 9500 -
    cisco nx-os 5.2
    cisco nx-os 6.2
    cisco nx-os *
    cisco nx-os 8.1
    cisco nx-os 8.2
    cisco mds 9000 -
    cisco nexus 3000 *
    cisco nexus 2000 -