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 the NX-API management application programming interface (API) in devices running, or based on, Cisco NX-OS Software could allow an authenticated, remote attacker to execute commands with elevated privileges.
The vulnerability is due to a failure to properly validate certain parameters included within an NX-API request. An attacker that can successfully authenticate to the NX-API could submit a request designed to bypass NX-OS role assignment. A successful exploit could allow the attacker to execute commands with elevated privileges.
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-nxos-nxapiThis 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 and are configured to use the NX-API feature:
- MDS 9000 Series Multilayer Switches
- Nexus 2000 Series Switches
- Nexus 3000 Series Switches
- Nexus 3500 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
For information about which Cisco NX-OS Software releases are vulnerable, see the Fixed Software section of this advisory.
Assessing the Cisco NX-API configuration
To determine whether a device has enabled the NX-API feature, administrators can log in to the device and check the configuration for the presence of the feature nxapi command. If the device is configured to use the NX-API feature, the output of the show running-config all | inc nxapi command will be similar to the following:
CLI(config)# show running all | inc nxapi feature nxapi nxapi http port 443 no nxapi http no nxapi sandbox . . .
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 when running Cisco NX-OS Software:
- Firepower 2100 Series
- Firepower 4100 Series Next-Generation Firewall
- Firepower 9300 Security Appliance
- Nexus 1000V Series Switches
- Nexus 1100 Series Cloud Services Platforms
- Nexus 3600 Platform Switches
- Nexus 9000 Series Fabric Switches in Application Centric Infrastructure (ACI) mode
- Nexus 9500 R-Series Line Cards and Fabric Modules
- 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.htmlAdditionally, 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.htmlCustomers 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: CSCve40903
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 Not vulnerable
8.1(1a) or 8.2(1)
6.2 Not vulnerable
8.1(1a) or 8.2(1) 7.3 7.3.2D1 8.1(1a) or 8.2(1) 8.1 8.1(1a) 8.1(1a) or 8.2(1) 8.2 Not vulnerable Not vulnerable
Nexus 3000 Series Switches and Nexus 9000 Series Switches in standalone NX-OS mode: CSCvc73177
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)I6(2)
7.0(3)I7(4) 7.0(3)I4
7.0(3)I4(6) 7.0(3)I7(4) 7.0(3)I5
7.0(3)I5(2) 7.0(3)I7(4) 7.0(3)I6
7.0(3)I6(2) 7.0(3)I7(4) 7.0(3)I7 7.0(3)I7(2) 7.0(3)I7(4)
Nexus 3500 Platform Switches: CSCvc73177
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 6.0(2)A8(5)
7.0(3)I7(4) 7.0.3 7.0(3)I7(2) 7.0(3)I7(4)
Nexus 2000, 5500, 5600, and 6000 Series Switches: CSCve40911
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.3(3)N1(1) 7.0 Not vulnerable
7.3(3)N1(1) 7.1 Not vulnerable
7.3(3)N1(1) 7.2 Not vulnerable
7.3(3)N1(1) 7.3 7.3(3)N1(1) 7.3(3)N1(1)
Nexus 7000 and 7700 Series Switches: CSCve40903
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 Not vulnerable
8.1(2) or 8.2(1) 7.2 Affected; migrate
8.1(2) or 8.2(1) 7.3 7.3.2D1 8.1(2) or 8.2(1) 8.0 Affected; migrate
8.1(2) or 8.2(1) 8.1 8.1.2 8.1(2) or 8.2(1) 8.2 Not vulnerable
8.2(1)
-
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 the resolution of a Cisco TAC support case.
-
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.2 Updated the release mapping metadata (Product Attribute Set). — Final 2018-July-09 1.1 Updated the 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.