SecurityContext

CVE-2017-12339: Cisco NX-OS - Command Injection

  • Cve: CVE-2017-12339
  • Name: Cisco NX-OS - Command Injection
  • Description: A vulnerability in the CLI of Cisco NX-OS System Software could allow an authenticated, local attacker to perform a command injection attack. The vulnerability is due to insufficient input validation of command arguments to the CLI parser. An attacker could exploit this vulnerability by injecting crafted command arguments into a vulnerable CLI command. An exploit could allow the attacker to execute arbitrary commands at the user's privilege level. On products that support multiple virtual device contexts (VDCs), this vulnerability could allow the attacker to execute commands at the user's privilege level outside the user's environment. 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 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 Fabric Switches in Application Centric Infrastructure (ACI) mode, Nexus 9000 Series Switches in standalone NX-OS mode, and Nexus 9500 R-Series Line Cards and Fabric Modules. Cisco Bug IDs: CSCve99925, CSCvf15164, CSCvf15167, CSCvf15170, CSCvf15173.
  • Impact: Local attackers can execute arbitrary commands with user privileges, potentially leading to system compromise or unauthorized control.
  • Remediation: Apply the latest security updates and patches provided by Cisco for affected NX-OS versions.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs to be authenticated and local access to the CLI
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.7
  • Cvss vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L
  • Epss score: 0.007
  • Epss percentile: 0.54124
  • Assignee: [email protected]
  • Published at: 2017-11-30T09:29:00Z
  • Age in days: 3281
  • Modified at: 2026-06-17T01:03:10Z
  • References total: 3
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-12339
  • 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

IdName
CWE-77Improper Neutralization of Special Elements used in a Command

References

Same in every row:

  • Source: nvd
UrlTags
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20171129-nxos7Vendor Advisory
http://www.securitytracker.com/id/1039938Third Party Advisory, VDB Entry
http://www.securityfocus.com/bid/102198

Products

ProductAffectedPlatform boundSourcesUrl
cisco:nx-os= 8.1(0)bd(0.20), = 8.0(1), = 7.0(0)hsk(0.357)nonvd/v1/products/cisco/nx-os
cisco:lan_switch_software= 12.2(1.107)nonvd/v1/products/cisco/lan_switch_software

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • 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, exposed hosts