Cisco Security Advisory
Cisco Prime Infrastructure Arbitrary File Upload and Command Execution Vulnerability
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:X
-
A vulnerability in which the HTTP web server for Cisco Prime Infrastructure (PI) has unrestricted directory permissions could allow an unauthenticated, remote attacker to upload an arbitrary file. This file could allow the attacker to execute commands at the privilege level of the user prime. This user does not have administrative or root privileges.
The vulnerability is due to an incorrect permission setting for important system directories. An attacker could exploit this vulnerability by uploading a malicious file by using TFTP, which can be accessed via the web-interface GUI. A successful exploit could allow the attacker to run commands on the targeted application without authentication.
Cisco has released software updates that address this vulnerability. There are workarounds that address this vulnerability.
This advisory is available at the following link:
https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20181003-pi-tftp
-
Vulnerable Products
Cisco PI Software Releases 3.2 through 3.4 prior to the first fixed release are vulnerable if the TFTP server is enabled, which is the default setting. The administrator can check the TFTP status by navigating in the web interface to Administration > Settings > System Settings > Server > TFTP.
The PI Federal Information Processing Standards (FIPS) image has TFTP disabled by default.
Determining the PI Software Release
To determine the software release that is running on the appliance, administrators can use one of the following methods.
- The administrator can issue the show version command in the console CLI. The following output is from an affected application running PI Software Release 3.2.0 with PI Maintenance Release 3.2.2 installed:
piconsole# show version
Cisco Application Deployment Engine OS Release: 3.2
ADE-OS Build Version: 3.2.0.001
ADE-OS System Architecture: x86_64
Copyright (c) 2009-2016 by Cisco Systems, Inc.
All rights reserved.
Hostname: lmpy-spc-princess
Version information of installed applications
---------------------------------------------
Cisco Prime Infrastructure
********************************************************
Version : 3.2.0
Build : 3.2.0.0.132
Critical Fixes:
PI 3.2.2 Maintenance Release ( 6.0.0 )
Device Support:
Prime Infrastructure 3.2 Device Pack 11 ( 11.0 ) - The administrator can also view the PI release and maintenance release updates by logging in to the web interface using the http(s)://
access URL. The PI software release is displayed on the welcome screen and the administrator can click View Installed Update, which opens a pop-up window with a list of PI maintenance releases and patches. The following is an example of text that is displayed in the pop-up window for PI Software Release 3.2: Cisco Prime Infrastructure
The pop-up window will display the list of maintenance release updates in the following format:
Version 3.2
View Installed UpdateUpdate Name
PI 3.2.2 Maintenance Release - The administrator can also view the PI release and maintenance release updates by logging in to the web interface using the http(s)://
access URL and navigating to the Gear > About Prime Infrastructure > View Installed Updates screen. The release information is displayed as follows: Installed Updates
Critical Fixes
Update Name Version
PI 3.2.2 Maintenance Rel... 6.0.0
Device Support
Update Name
Prime Infrastructure 3.2
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 Cisco Evolved Programmable Network Manager (EPNM) is not vulnerable.
- The administrator can issue the show version command in the console CLI. The following output is from an affected application running PI Software Release 3.2.0 with PI Maintenance Release 3.2.2 installed:
-
The administrator can disable TFTP for Cisco PI by navigating in the web interface to Administration > Settings > System Settings > Server > TFTP. In Cisco PI, TFTP is used for internal operations such as image transfer, configuration, and archives. The administrator can instead use a secure protcotol such as Secure Copy Protocol (SCP) or SFTP for these functions.
-
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 should upgrade to an appropriate release as indicated in the following table:
Cisco Prime Infrastructure Major Release First Fixed Release for This Vulnerability 3.2
3.3.1 Update 02
3.2 FIPS No fix available1 3.3 3.3.1 Update 02
3.4 3.4.1 1. TFTP is disabled by default in Cisco PI Release 3.2 FIPS. The administrator can also use the workaround that is provided in this advisory.
Software Download
Customers can download Cisco Prime Infrastructure Software from the Software Center on Cisco.com by doing the following:
- Click Browse all.
- Navigate to Cloud and Systems Management > Routing and Switching Management > Network Management Solutions > Prime Infrastructure.
- Access Cisco PI releases by using the right pane of the software downloads navigation.
-
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 an independent security researcher, Pedro Ribeiro, who reported this vulnerability to Beyond Security's SecuriTeam Secure Disclosure program.
-
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.0 Initial public release. - Final 2018-October-03
-
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.