HP ThinPro 6.x / 7.x Privileged Command Injection

HP ThinPro versions 7.1, 7.0, 6.2.1, and 6.2 suffer from a privileged command injection vulnerability.

MD5 | 86a3b2ec920c1057a19c890e8605ecf5

HP ThinPro - Privileged command injection

* CVE-2019-18910

CVSSv3 score
7.6 (AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L)

HP - [https://www.hp.com](https://www.hp.com)

Deliver secure desktop virtualization that’s as comfortable for IT as it is
for end users with the stunningly redesigned HP ThinPro. It has a bold new
user interface and workflow refinements that make it a breeze to configure,
manage, and use right out of the box.

Affected versions
- HP ThinPro Linux 7.1
- HP ThinPro Linux 7.0
- HP ThinPro Linux 6.2.1
- HP ThinPro Linux 6.2

Eldar Marcussen - xen1thLabs - Software Labs

Vulnerability summary
The VPN software does not safely handle user supplied input, it is
therefore possible for an attacker to inject arbitrary commands that will
be executed with root privileges on the device.

Technical details
The `Gateway` connection setting for PPTP VPN connections is not safely
handled, a local user can use the `hptc-network-mgr` application to inject
commands into the VPN connection process and have these commands executed
with root privileges on the device.

Proof of concept
The following evidence is provided to illustrate the existence and

1. Launch `hptc-network-mgr`
2. Select the VPN tab
3. Set connection type to `PPTP`
4. Enter the following values:
* Gateway: `;xterm;echo`
* NT Domain: pwnt
* User name: pwnt
* User password: pwnt
5. Click OK
6. Click on the network icon on the statusbar
7. Click `Connect VPN`
8. Observe that a xterm spawns as root

Contact vendor for a solution

Date | Status
19-AUG-2019 | Reported to vendor
22-NOV-2019 | Patch available
24-MAR-2020 | Public disclosure

Related Posts