exploit the possibilities

HP ThinPro 6.x / 7.x Filter Bypass

HP ThinPro 6.x / 7.x Filter Bypass
Posted Mar 25, 2020
Authored by Eldar Marcussen

HP ThinPro versions 7.1, 7.0, 6.2.1, and 6.2 suffer from an application filter bypass vulnerability.

tags | exploit, bypass
advisories | CVE-2019-16286
MD5 | 68cf55b494dfadf53d25535a6c23313a

HP ThinPro 6.x / 7.x Filter Bypass

Change Mirror Download
HP ThinPro - Application filter bypass
===============================================================================

Identifiers
-------------------------------------------------
* CVE-2019-16286

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

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

Product
-------------------------------------------------
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

Credit
-------------------------------------------------
Eldar Marcussen - xen1thLabs - Software Labs

Vulnerability summary
-------------------------------------------------
The HP ThinPro allows administrators to determine what applications users
can run, however attackers can bypass these restrictions to spawn
restricted applications and run arbitrary commands on the device.

Technical details
------------------------------------------------
There are several paths to exploit this, but the most common path is to
find exploit it directly from a `Web Browser` connection, or find a
clickable link that will spawn firefox from one of the other connections.
Once in firefox the attacker can access preferences to configure which
application handles certain filetypes and use this to spawn another
application. The list of possible applications is restricted, but it is
possible to spawn `/usr/bin/hptc-kiosk` which supports creating custom
connections which can run arbitrary commands.

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

1. In a `Web Browser` connection open Firefox's `Preferences`
2. Select the `Applications` section
3. Locate the `Portable Document Format (PDF)` content type and select `Use
other` from the drop down menu
4. Navigate to `/usr/bin/hptc-kiosk` and press Open
5. Verify that the PDF handler is set to `Use hptc-kiosk`
6. Open a new tab and type the following in the address bar
`data:application/pdf,pwnt!`
and press enter
7. Observe that a `Connection manager` window now opens
8. Click on the `+` icon in the bottom right
9. Select `Custom`
10. Enter `xterm` in the textbox for command to run and click Finish
11. Select the newly created connection
12. Click the `->` icon in the bottom left corner
13. Observe xterm spawning

Solution
-------------------------------------------------
Contact vendor for a solution

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


Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

April 2020

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    60 Files
  • 2
    Apr 2nd
    20 Files
  • 3
    Apr 3rd
    10 Files
  • 4
    Apr 4th
    0 Files
  • 5
    Apr 5th
    0 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    0 Files
  • 9
    Apr 9th
    0 Files
  • 10
    Apr 10th
    0 Files
  • 11
    Apr 11th
    0 Files
  • 12
    Apr 12th
    0 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    0 Files
  • 16
    Apr 16th
    0 Files
  • 17
    Apr 17th
    0 Files
  • 18
    Apr 18th
    0 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2016 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close