CVE-2017-12336: Cisco NX-OS - Command Injection
- Cve: CVE-2017-12336
- Name: Cisco NX-OS - Command Injection
- Description: 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.
- Impact: Authenticated local attackers can execute arbitrary commands on the device's underlying OS, potentially leading to full system compromise.
- Remediation: Apply the latest security patches provided by Cisco for affected NX-OS versions.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution, privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs local access with administrative or tclsh privileges
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.2
- Cvss vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
- Epss score: 0.00427
- Epss percentile: 0.37735
- Assignee: [email protected]
- Published at: 2017-11-30T09:29:00Z
- Age in days: 3281
- Modified at: 2026-06-17T01:03:09Z
- References total: 3
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-12336
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20171129-nxos5 | Vendor Advisory |
| http://www.securitytracker.com/id/1039936 | Third Party Advisory, VDB Entry |
| http://www.securityfocus.com/bid/102168 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| cisco:nx-os | = 8.1(0)bd(0.20), = 8.1(0.2)s0, = 8.1(0.59)s0, = 8.1(1)s5, = 8.0(1), = 6.0(2)a8(3) | no | nvd | /v1/products/cisco/nx-os |
| cisco:unified_computing_system | = 7.0(0)hsk(0.357) | no | nvd | /v1/products/cisco/unified_computing_system |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 752
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports