vendor:
PCoIP Management Console
by:
hantwister
7,8
CVSS
HIGH
Web Shell Upload and Privilege Escalation
264
CWE
Product Name: PCoIP Management Console
Affected Version From: 2.2.0
Affected Version To: 2.2.0
Patch Exists: YES
Related CWE: N/A
CPE: a:teradici:pcoip_management_console
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: CentOS 7 x64
2017
Teradici Management Console 2.2.0 – Web Shell Upload and Privilege Escalation
Users that can access the Settings > Database Management page can achieve code execution as root on older versions of PCoIP MC 2.x. (Based on CentOS 7 x64). Database archives are extracted under /opt/jetty/tmpdeploy. By creating a malicious archive with a malicious web script that extracts to the known directory /opt/jetty/tmpdeploy/jetty-0.0.0.0-8080-console.war-_console-any- it is possible to add or modify class files and XML files pertaining to the application. The jetty user owns the file /opt/jetty/jetty_self_restart.sh, and the same user has sudo rights to run that file without a password. By manipulating this file, arbitrary code can be run as root.
Mitigation:
Ensure that the web application is running the latest version of the Teradici Management Console and that all users have the least privileges necessary to perform their job functions.