CVE-2017-12340

MEDIUM

Cisco NX-OS - Authenticated Bash Shell Access via Python Scripting Sandbox Escape

Title source: llm
STIX 2.1

Description

A vulnerability in Cisco NX-OS System Software running on Cisco MDS Multilayer Director Switches, Cisco Nexus 7000 Series Switches, and Cisco Nexus 7700 Series Switches could allow an authenticated, local attacker to access the Bash shell of an affected device's operating system, even if the Bash shell is disabled on the system. The vulnerability is due to insufficient sanitization of user-supplied parameters that are passed to certain functions of the Python scripting sandbox of the affected system. An attacker could exploit this vulnerability to escape the scripting sandbox and enter the Bash shell of the operating system with the privileges of the authenticated user for the affected system. To exploit this vulnerability, the attacker must have local access to the affected system and be authenticated to the affected system with administrative or Python execution privileges. Cisco Bug IDs: CSCvd86513.

References (2)

Core 2
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/102069

Scores

CVSS v3 4.2
EPSS 0.0034
EPSS Percentile 25.5%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L

Details

CWE
CWE-116 CWE-284
Status published
Products (2)
cisco/nx-os 8.1\(0.70\)s0
n/a/Cisco Multilayer Director, Nexus 7000 Series, and Nexus 7700 Series Switches Cisco Multilayer Director, Nexus 7000 Series, and Nexus 7700 Series Switches
Published Nov 30, 2017
Tracked Since Feb 18, 2026