ID CVE-2017-6622
Summary A vulnerability in the web interface for Cisco Prime Collaboration Provisioning could allow an unauthenticated, remote attacker to bypass authentication and perform command injection with root privileges. The vulnerability is due to missing security constraints in certain HTTP request methods, which could allow access to files via the web interface. An attacker could exploit this vulnerability by sending a crafted HTTP request to the targeted application. This vulnerability affects Cisco Prime Collaboration Provisioning Software Releases prior to 12.1. Cisco Bug IDs: CSCvc98724.
References
Vulnerable Configurations
  • cpe:2.3:a:cisco:prime_collaboration_provisioning:10.5.0
    cpe:2.3:a:cisco:prime_collaboration_provisioning:10.5.0
  • Cisco Prime Collaboration Provisioning 10.6.2
    cpe:2.3:a:cisco:prime_collaboration_provisioning:10.6.2
  • cpe:2.3:a:cisco:prime_collaboration_provisioning:9.5.0
    cpe:2.3:a:cisco:prime_collaboration_provisioning:9.5.0
  • cpe:2.3:a:cisco:prime_collaboration_provisioning:9.0.0
    cpe:2.3:a:cisco:prime_collaboration_provisioning:9.0.0
  • Cisco Prime Collaboration Provisioning 11.1.0
    cpe:2.3:a:cisco:prime_collaboration_provisioning:11.1.0
  • cpe:2.3:a:cisco:prime_collaboration_provisioning:10.5.1
    cpe:2.3:a:cisco:prime_collaboration_provisioning:10.5.1
  • cpe:2.3:a:cisco:prime_collaboration_provisioning:10.6.0
    cpe:2.3:a:cisco:prime_collaboration_provisioning:10.6.0
  • Cisco Prime Collaboration Provisioning 11.5.0
    cpe:2.3:a:cisco:prime_collaboration_provisioning:11.5.0
  • cpe:2.3:a:cisco:prime_collaboration_provisioning:10.0.0
    cpe:2.3:a:cisco:prime_collaboration_provisioning:10.0.0
  • Cisco Prime Collaboration Provisioning 11.0.0
    cpe:2.3:a:cisco:prime_collaboration_provisioning:11.0.0
CVSS
Base: 10.0
Impact:
Exploitability:
CWE CWE-264
CAPEC
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
exploit-db via4
description Cisco Prime Collaboration Provisioning < 12.1 - Authentication Bypass / Remote Code Execution. CVE-2017-6622. Remote exploit for Hardware platform
file exploits/hardware/remote/42888.sh
id EDB-ID:42888
last seen 2017-09-29
modified 2017-09-27
platform hardware
port
published 2017-09-27
reporter Exploit-DB
source https://www.exploit-db.com/download/42888/
title Cisco Prime Collaboration Provisioning < 12.1 - Authentication Bypass / Remote Code Execution
type remote
nessus via4
  • NASL family CISCO
    NASL id CISCO_PRIME_CP_CVE-2017-6622.NASL
    description The remote Cisco Prime Collaboration Provisioning server is affected by a remote command execution vulnerability in the ScriptMgr servlet due to a failure to restrict the HTTP HEAD method. An unauthenticated, remote attacker can exploit this to bypass authentication and execute arbitrary commands with root privileges. Note that the remote Cisco Prime Collaboration Provisioning server is reportedly affected by additional vulnerabilities; however, Nessus has not tested for these.
    last seen 2017-11-09
    modified 2017-11-09
    plugin id 101531
    published 2017-07-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=101531
    title Cisco Prime Collaboration Provisioning ScriptMgr Servlet Authentication Bypass RCE
  • NASL family CISCO
    NASL id CISCO_PRIME_CP_SA-20170517-PCP1.NASL
    description According to its self-reported version number, the remote Cisco Prime Collaboration Provisioning server is 9.x, 10.x, 11.x, or 12.x prior to 12.1. It is, therefore, affected by multiple vulnerabilities : - An information disclosure vulnerability exists in the web interface when handling HTTP requests. An unauthenticated, remote attacker can exploit this, via a specially crafted request, to disclose sensitive information about the application, such as user credentials. (CVE-2017-6621) - An authentication bypass vulnerability exists in the web interface due to missing security restraints in certain HTTP request methods that could allow accessing files. An unauthenticated, remote attacker can exploit this, via a specially crafted HTTP request, to bypass authentication and execute arbitrary commands with root privileges. (CVE-2017-6622) - A flaw exists in the web interface that allows directory traversal outside of a restricted path due to improper validation of HTTP requests and a failure to apply role-based access controls (RBACs) to requested HTTP URLs. An authenticated, remote attacker can exploit this, via a specially crafted request that uses path traversal, to delete arbitrary files from the system. (CVE-2017-6635) Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.
    last seen 2017-11-09
    modified 2017-11-09
    plugin id 100323
    published 2017-05-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=100323
    title Cisco Prime Collaboration Provisioning < 12.1 Multiple Vulnerabilities (cisco-sa-20170517-pcp1 - cisco-sa-20170517-pcp3)
packetstorm via4
data source https://packetstormsecurity.com/files/download/144420/cpcp-bypassexec.txt
id PACKETSTORM:144420
last seen 2017-09-30
published 2017-09-29
reporter Adam Brown
source https://packetstormsecurity.com/files/144420/Cisco-Prime-Collaboration-Provisioning-Authentication-Bypass-Code-Execution.html
title Cisco Prime Collaboration Provisioning Authentication Bypass / Code Execution
refmap via4
bid 98520
confirm https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170517-pcp1
sectrack 1038507
saint via4
bid 98520
description Cisco Prime Collaboration Provisioning ScriptMgr HEAD request vulnerability
id net_cisco_primecollaboration
title cisco_prime_cp_scriptmgr_head
type remote
Last major update 18-05-2017 - 15:29
Published 18-05-2017 - 15:29
Last modified 29-09-2017 - 21:29
Back to Top