Vulnerability Name:

CVE-2017-12336 (CCN-135605)

Assigned:2017-11-29
Published:2017-11-29
Updated:2017-12-15
Summary:A vulnerability in the TCL scripting subsystem of Cisco NX-OS System Software could allow an authenticated, local attacker to escape the interactive TCL shell and gain unauthorized access to the underlying operating system of the device. The vulnerability exists due to insufficient input validation of user-supplied files passed to the interactive TCL shell of the affected device. An attacker could exploit this vulnerability to escape the scripting sandbox and execute arbitrary commands on the underlying operating system with the privileges of the authenticated user. To exploit this vulnerability, an attacker must have local access and be authenticated to the targeted device with administrative or tclsh execution privileges. This vulnerability affects the following products running Cisco NX-OS System Software: Multilayer Director Switches, Nexus 2000 Series Fabric Extenders, Nexus 3000 Series Switches, Nexus 3500 Platform Switches, Nexus 5000 Series 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, Unified Computing System Manager. Cisco Bug IDs: CSCve93750, CSCve93762, CSCve93763, CSCvg04127.
CVSS v3 Severity:4.2 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L)
3.7 Low (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/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): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
4.2 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L)
3.7 Low (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/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): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:4.6 Medium (CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
4.3 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-20
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2017-12336

Source: BID
Type: UNKNOWN
102168

Source: CCN
Type: BID-102168
Cisco NX-OS System Software CVE-2017-12336 Local Unauthorized Access Vulnerability

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

Source: XF
Type: UNKNOWN
cisco-cve201712336-sec-bypass(135605)

Source: CCN
Type: Cisco Security Advisory cisco-sa-20171129-nxos5
Cisco NX-OS System Software Interactive TCL Shell Escape Vulnerability

Source: CONFIRM
Type: Vendor Advisory
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20171129-nxos5

Vulnerable Configuration:Configuration 1:
  • cpe:/o:cisco:nx-os:6.0(2)a8(3):*:*:*:*:*:*:*
  • OR cpe:/o:cisco:nx-os:8.0(1):*:*:*:*:*:*:*
  • OR cpe:/o:cisco:nx-os:8.1(0)bd(0.20):*:*:*:*:*:*:*
  • OR cpe:/o:cisco:nx-os:8.1(0.2)s0:*:*:*:*:*:*:*
  • OR cpe:/o:cisco:nx-os:8.1(0.59)s0:*:*:*:*:*:*:*
  • OR cpe:/o:cisco:nx-os:8.1(1)s5:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/a:cisco:unified_computing_system:7.0(0)hsk(0.357):*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:cisco:unified_computing_system:*:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    cisco nx-os 6.0(2)a8(3)
    cisco nx-os 8.0(1)
    cisco nx-os 8.1(0)bd(0.20)
    cisco nx-os 8.1(0.2)s0
    cisco nx-os 8.1(0.59)s0
    cisco nx-os 8.1(1)s5
    cisco unified computing system 7.0(0)hsk(0.357)
    cisco unified computing system *