CVE-2017-12338 Path traversal in Cisco NX-OS
An authenticated local attacker can read arbitrary files on Cisco NX-OS devices via insufficient input validation in a CLI command.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2017-12338?
CVE-2017-12338 is a medium-severity path traversal vulnerability in Cisco Nx-Os, published on 30 Nov 2017. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability in the CLI of Cisco NX-OS System Software could allow an authenticated, local attacker to read the contents of arbitrary files. The vulnerability is due to insufficient input validation for a specific CLI command. An attacker could exploit this vulnerability by issuing a crafted command on the CLI. An exploit could allow the attacker unauthorized access to read arbitrary files on the underlying local file system. On products that support multiple virtual device contexts (VDCs), this vulnerability could allow an attacker to read files from any VDC. 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, Nexus 9500 R-Series Line Cards and Fabric Modules, Unified Computing System Manager. Cisco Bug IDs: CSCve51707, CSCve93961, CSCve93964, CSCve93965, CSCve93968, CSCve93974, CSCve93976.
Weakness: CWE-20
Which versions are affected by CVE-2017-12338?
It affects 3 products.
Products include Cisco Lan Switch Software, Cisco Nx-Os, Cisco Unified Computing System.
How do I fix CVE-2017-12338?
No fix has been published for CVE-2017-12338 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2017-12338 being exploited?
There is no known exploitation of CVE-2017-12338 in the wild and no public exploit code.
Other vulnerabilities in Cisco Nx-Os
Sources
Also known as GHSA-p6qh-hf5h-ppmg.