Skip to content
Access control Write-up Advanced

Executive Summary

The FabulaTech USB redirection driver creates device objects without a security descriptor, allowing any low-privileged user to add and control fake USB devices that the OS fully trusts. An attacker could use this to simulate a keyboard or mouse and perform actions such as clicking through UAC prompts or typing commands, potentially leading to privilege escalation.

labs.sentinelone.com

Published on labs.sentinelone.com

FabulaTech installs a bus driver as part of its “USB for Remote Desktop” software product. The bus driver allows low privileged users to add a fully controlled software USB device, which could be used by an attacker to elevate privileges under certain common circumstances.

The author, on labs.sentinelone.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The driver used the IoCreateDevice routine without assigning a security descriptor, leaving the device object accessible to all users.

Impact

An attacker could add a fake keyboard or mouse to perform actions such as clicking 'Yes' in a UAC prompt or typing commands, potentially leading to privilege escalation; the text notes that a full exploit bypassing UAC was not published.

What the attacker needed

Low-privileged user account; vulnerable driver installed

The fix

The vendor fixed the vulnerability in USB for Remote Desktop version 6.0.2, but it is unclear whether other affected products were patched.

How it was found

  1. Open a handle to the vulnerable driver device.
  2. Send an IOCTL to add a fake device, providing a device descriptor that identifies it as a mouse.
  3. Respond to USB descriptor requests from the OS (select configuration, set idle, get report descriptor) using IOCTL calls.
  4. The fake mouse device is then recognised by the OS.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A driver is a low-level program that lets the operating system talk to hardware. This driver was supposed to be used only by trusted software, but it did not check who was using it, so any normal user could ask it to create a fake USB device. Because the system trusts such devices, an attacker could make the computer think a keyboard or mouse was plugged in and use that to run commands or click buttons without the user's knowledge.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.