CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:X/RL:X/RC:X
-
A vulnerability in role-based access control (RBAC) for Cisco NX-OS Software could allow an authenticated, remote attacker to execute CLI commands that should be restricted for a nonadministrative user. The attacker would have to possess valid user credentials for the device.
The vulnerability is due to incorrect RBAC privilege assignment for certain CLI commands. An attacker could exploit this vulnerability by authenticating to a device as a nonadministrative user and executing specific commands from the CLI. An exploit could allow the attacker to run commands that should be restricted to administrative users. These commands could modify the configuration or boot image on the device.Cisco has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.
This advisory is available at the following link:
https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180620-nxosrbacThis advisory is part of the June 2018 Cisco FXOS and NX-OS Software Security Advisory Collection, which includes 24 Cisco Security Advisories that describe 24 vulnerabilities. For a complete list of the advisories and links to them, see Cisco Event Response: June 2018 Cisco FXOS and NX-OS Software Security Advisory Collection.
-
Vulnerable Products
This vulnerability affects the following Cisco products if they are running a vulnerable release of Cisco NX-OS Software:- MDS 9000 Series Multilayer Switches
- Nexus 2000 Series Switches
- Nexus 3000 Series Switches
- Nexus 3500 Platform Switches
- Nexus 3600 Platform 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
Determining if the NX-OS Device Is Vulnerable
If the configured user role is network-operator for a specific CLI command, the attacker could be allowed to execute a CLI command that should be restricted only to the network-admin role. The administrator can use the show user-account command to see the role associated with each user.switch(config)# show user-account user:admin this user account has no expiry date roles:network-admin user:test this user account has no expiry date roles:network-operator
Please refer to the NX-OS documentation About User Roles for additional information on the device roles and how they are applied.
Determining the Cisco NX-OS Software Release
Administrators can check the release of Cisco NX-OS Software that is running on a device by using the show version command in the device CLI. The following example shows the output of this command on a device that is running Cisco NX-OS Software Release 7.3(2)D1(1):
nxos-switch# show version
Cisco Nexus Operating System (NX-OS) Software TAC support: http://www.cisco.com/tac Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html Copyright (c) 2002-2017, Cisco Systems, Inc. All rights reserved. The copyrights to certain works contained in this software are owned by other third parties and used and distributed under license. Certain components of this software are licensed under the GNU General Public License (GPL) version 2.0 or the GNU Lesser General Public License (LGPL) Version 2.1. A copy of each such license is available at http://www.opensource.org/licenses/gpl-2.0.php and http://www.opensource.org/licenses/lgpl-2.1.php Software BIOS: version 2.12.0 kickstart: version 7.3(2)D1(1) system: version 7.3(2)D1(1) . . .
Products Confirmed Not Vulnerable
Only products listed in the Vulnerable Products section of this advisory are known to be affected by this vulnerability.
Cisco has confirmed that this vulnerability does not affect the following Cisco products:
- Firepower 2100 Series
- Firepower 4100 Series Next-Generation Firewall
- Firepower 9300 Security Appliance
- Nexus 1000V Series Switches
- Nexus 1100 Series Cloud Services Platforms
- Nexus 9000 Series Fabric Switches in Application Centric Infrastructure (ACI) mode
- UCS 6100 Series Fabric Interconnects
- UCS 6200 Series Fabric Interconnects
- UCS 6300 Series Fabric Interconnects
Cisco has not investigated whether this vulnerability affects Cisco Nexus 4000 Series Switches, Cisco Nexus 5010 Switches, or Cisco Nexus 5020 Switches because those products have reached end-of-life status. For more information, refer to the End-of-Sale and End-of-Life Announcement for the Cisco Nexus 4000 Series Switch Modules for IBM BladeCenter and the End-of-Sale and End-of-Life Announcement for the Cisco Nexus 5010 and Nexus 5020 Switches.
-
Cisco has released free software updates that address the vulnerability described in this advisory. Customers may only install and expect support for software versions and feature sets for which they have purchased a license. By installing, downloading, accessing, or otherwise using such software upgrades, customers agree to follow the terms of the Cisco software license: https://www.cisco.com/c/en/us/products/end-user-license-agreement.html
Additionally, customers may only download software for which they have a valid license, procured from Cisco directly, or through a Cisco authorized reseller or partner. In most cases this will be a maintenance upgrade to software that was previously purchased. Free security software updates do not entitle customers to a new software license, additional software feature sets, or major revision upgrades.
When considering software upgrades, customers are advised to regularly consult the advisories for Cisco products, which are available from the Cisco Security Advisories and Alerts page, to determine exposure and a complete upgrade solution.
In all cases, customers should ensure that the devices to be upgraded contain sufficient memory and confirm that current hardware and software configurations will continue to be supported properly by the new release. If the information is not clear, customers are advised to contact the Cisco Technical Assistance Center (TAC) or their contracted maintenance providers.
Customers Without Service Contracts
Customers who purchase directly from Cisco but do not hold a Cisco service contract and customers who make purchases through third-party vendors but are unsuccessful in obtaining fixed software through their point of sale should obtain upgrades by contacting the Cisco TAC: https://www.cisco.com/c/en/us/support/web/tsd-cisco-worldwide-contacts.html
Customers should have the product serial number available and be prepared to provide the URL of this advisory as evidence of entitlement to a free upgrade.
Fixed Releases
Customers are advised to upgrade to an appropriate release as indicated in the applicable table in this section. To help ensure a complete upgrade solution, consider that this advisory is part of a collection. For a complete list of the advisories in the collection and links to them, see Cisco Event Response: June 2018 Cisco FXOS and NX-OS Software Security Advisory Collection.
In the following tables, the left column lists releases of Cisco FXOS or NX-OS Software. The center column indicates whether a release is affected by the vulnerability described in this advisory and the first release that includes the fix for this vulnerability. The right column indicates whether a release is affected by all the vulnerabilities described in this collection of advisories and which release includes fixes for those vulnerabilities.
MDS 9000 Series Multilayer Switches: CSCvd77904
Cisco NX-OS Software Release First Fixed Release for This Vulnerability First Fixed Release for All Vulnerabilities Described in the Collection of Advisories 5.2 8.1(1) 8.1(1a) or 8.2(1)
6.2 8.1(1) 8.1(1a) or 8.2(1)
7.3 8.1(1) 8.1(1a) or 8.2(1)
8.1 Not vulnerable
8.1(1a) or 8.2(1)
8.2 Not vulnerable
Not vulnerable
Nexus 3000 Series Switches: CSCvd77904
Cisco NX-OS Software Release First Fixed Release for This Vulnerability First Fixed Release for All Vulnerabilities Described in the Collection of Advisories Prior to 7.0(3)I4
7.0(3)I4(7)
7.0(3)I7(4)
7.0(3)I4 7.0(3)I4(7) 7.0(3)I7(4)
7.0(3)I5 7.0(3)I7(1) 7.0(3)I7(4)
7.0(3)I6 7.0(3)I7(1) 7.0(3)I7(4)
7.0(3)I7 7.0(3)I7(1)
7.0(3)I7(4)
Nexus 3500 Platform Switches: CSCvd77904
Cisco NX-OS Software Release First Fixed Release for This Vulnerability First Fixed Release for All Vulnerabilities Described in the Collection of Advisories 6.0 Not vulnerable
7.0(3)I7(4)
7.0 7.0(3)I7(2)
7.0(3)I7(4)
Nexus 2000, 5500, 5600, and 6000 Series Switches: CSCvd77904
Cisco NX-OS Software Release First Fixed Release for This Vulnerability First Fixed Release for All Vulnerabilities Described in the Collection of Advisories 6.0
7.3(3)N1(1)
7.3(3)N1(1)
7.0 7.3(3)N1(1)
7.3(3)N1(1)
7.1 7.3(3)N1(1)
7.3(3)N1(1)
7.2 7.3(3)N1(1)
7.3(3)N1(1)
7.3 7.3(3)N1(1)
7.3(3)N1(1) Nexus 7000 and 7700 Series Switches: CSCvd77904
Cisco NX-OS Software Release First Fixed Release for This Vulnerability First Fixed Release for All Vulnerabilities Described in the Collection of Advisories 6.2 7.3(2)D1(1)
8.1(2) or 8.2(1)
7.2 7.3(2)D1(1) 8.1(2) or 8.2(1)
7.3 7.3(2)D1(1)
8.1(2) or 8.2(1)
8.0 8.1(1) 8.1(2) or 8.2(1)
8.1 Not vulnerable
8.1(2) or 8.2(1)
8.2 Not vulnerable
8.1(2) or 8.2(1)
Nexus 9000 Series Switches in standalone NX-OS mode: CSCvd77904
Cisco NX-OS Software Release First Fixed Release for This Vulnerability First Fixed Release for All Vulnerabilities Described in the Collection of Advisories Prior to 7.0(3)I4
7.0(3)I4(7)
7.0(3)I7(4)
7.0(3)I4 7.0(3)I4(7) 7.0(3)I7(4)
7.0(3)I5 7.0(3)I7(1) 7.0(3)I7(4)
7.0(3)I6 7.0(3)I7(1) 7.0(3)I7(4)
7.0(3)I7 7.0(3)I7(1)
7.0(3)I7(4)
Nexus 9500 R-Series Line Cards and Fabric Modules and Nexus 3600 Platform Switches: CSCvd77904
Cisco NX-OS Software Release First Fixed Release for This Vulnerability First Fixed Release for All Vulnerabilities Described in the Collection of Advisories 7.0 7.0(3)F1(1)
7.0(3)F3(3a)
-
The Cisco Product Security Incident Response Team (PSIRT) is not aware of any public announcements or malicious use of the vulnerability that is described in this advisory.
-
This vulnerability was found during internal security testing.
-
To learn about Cisco security vulnerability disclosure policies and publications, see the Security Vulnerability Policy. This document also contains instructions for obtaining fixed software and receiving security vulnerability information from Cisco.
-
Version Description Section Status Date 1.1 Updated Fixed Releases for the MDS platform. Fixed Software Final 2018-July-05 1.0 Initial public release. — Final 2018-June-20
-
THIS DOCUMENT IS PROVIDED ON AN "AS IS" BASIS AND DOES NOT IMPLY ANY KIND OF GUARANTEE OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. YOUR USE OF THE INFORMATION ON THE DOCUMENT OR MATERIALS LINKED FROM THE DOCUMENT IS AT YOUR OWN RISK. CISCO RESERVES THE RIGHT TO CHANGE OR UPDATE THIS DOCUMENT AT ANY TIME.
A standalone copy or paraphrase of the text of this document that omits the distribution URL is an uncontrolled copy and may lack important information or contain factual errors. The information in this document is intended for end users of Cisco products.