Cisco Security Advisory
Cisco Prime File Upload Servlet Path Traversal and Remote Code Execution Vulnerability
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:X/RL:X/RC:X
-
A vulnerability in the Cisco Prime File Upload servlet affecting multiple Cisco products could allow a remote attacker to upload arbitrary files to any directory of a vulnerable device and execute those files.
For more information about this vulnerability per Cisco product, see the Details section of this security advisory.
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-20180502-prime-upload
-
Vulnerable Products
This vulnerability affects the following products:
- Cisco Prime Data Center Network Manager (DCNM) - Version 10.0 and later
- Cisco Prime Infrastructure (PI) - Version 3.2 and earlier
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 products:
- Cisco Evolved Programmable Network Manager
- Cisco Prime Access Registrar
- Cisco Prime Active Catalog
- Cisco Prime Cable Provisioning
- Cisco Prime Central for Service Providers
- Cisco Prime Collaboration Assurance
- Cisco Prime Collaboration Provisioning
- Cisco Prime Home
- Cisco Prime IP Express
- Cisco Prime LAN Management Solution
- Cisco Prime Network
- Cisco Prime Network Analysis Module
- Cisco Prime Network Registrar
- Cisco Prime Optical for Service Providers
- Cisco Prime Order Management
- Cisco Prime Performance Manager
- Cisco Prime Provisioning for Service Providers
- Cisco Prime Service Catalog
- Cisco Prime Unified Service Monitor
-
Details about the Cisco Prime File Upload servlet vulnerability per affected product are as follows.
Cisco Prime Data Center Network Manager Upload Servlet Path Traversal and Remote Code Execution Vulnerability
A vulnerability in the File Upload servlet of Cisco Prime Data Center Network Manager (DCNM) could allow an unauthenticated, remote attacker to upload arbitrary files to any directory of a vulnerable device and then execute those files.
The vulnerability is due to improper input validation of the parameters in the HTTP request and a processing error in the role-based access control (RBAC) of URLs. An attacker could exploit this vulnerability by uploading a crafted Java Server Pages (JSP) file to a specific folder using path traversal techniques and then executing that file remotely. An exploit could allow the attacker to execute arbitrary commands on the affected device with the privileges of the SYSTEM user.
The Common Vulnerability Scoring System (CVSS) score for this vulnerability is: Base 9.8
The Security Impact Rating (SIR) for this vulnerability is: CriticalThe Cisco bug ID for this vulnerability is: CSCvf32411
Cisco Prime Infrastructure Upload Servlet Path Traversal and Remote Code Execution Vulnerability
A vulnerability in the File Upload servlet of Cisco Prime Infrastructure (PI) could allow an authenticated, remote attacker to upload arbitrary files to any directory of a vulnerable device and then execute those files.
The vulnerability is due to improper input validation of the parameters in the HTTP request. An attacker could exploit this vulnerability by logging in to the affected application as an unprivileged user, uploading a crafted Java Server Pages (JSP) file to a specific folder using path traversal techniques and then executing that file remotely. An exploit could allow the attacker to execute arbitrary commands on the affected device with the privileges of the SYSTEM user.
The CVSS score for this vulnerability is: Base 8.8
The SIR for this vulnerability is: HighThe Cisco bug ID for this vulnerability is: CSCvf81727
-
There are no workarounds that address this vulnerability.
-
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
In the following tables, the left column lists major releases of Cisco software. The right column indicates whether a major release is affected by the vulnerability described in this advisory and the first minor release that includes the fix for this vulnerability.
Data Center Network Manager (DCNM)
Cisco DCNM Major Release
First Fixed Release for This Vulnerability Prior to 10.0
Not vulnerable
10.0 Affected; migrate to 10.3(1)
10.1 Affected; migrate to 10.3(1)
10.2 Affected; migrate to 10.3(1)
10.3 Not vulnerable
Prime Infrastructure (PI)
Cisco PI Major Release
First Fixed Release for This Vulnerability
Prior to 3.1
Affected; migrate to 3.1.7 Update 01
3.1 3.1.7 Update 01
3.2 3.2.1 3.3 Not vulnerable
3.4 Not vulnerable
2.2-FIPS Affected; migrate to 3.2-FIPS
-
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.
-
Cisco would like to thank Tenable, Inc. for reporting this vulnerability.
-
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 Clarified vulnerable releases for Cisco Prime Infrastructure. Vulnerable Products Final 2018-October-29 1.1 Corrected the source. Source Final 2018-May-07 1.0 Initial public release. - Final 2018-May-02
-
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.