Skip to content
RCE Write-up Intermediate

Exploit allows for takeover of fleets of Unitree robots

The BLE Wi-Fi configuration interface on several Unitree robots uses hardcoded encryption keys and accepts arbitrary code as the Wi-Fi SSID and password, which is executed with root privileges. An attacker within BLE range could take full control of a robot and, because the attack is wireless, spread automatically to other robots.

spectrum.ieee.org

Published on spectrum.ieee.org

A critical vulnerability in the Bluetooth Low Energy (BLE) Wi-Fi configuration interface used by several different Unitree robots can result in a root-level takeover by an attacker, security researchers disclosed on 20 September. The exploit impacts Unitree’s Go2 and B2 quadrupeds and G1 and H1 humanoids.

The author, on spectrum.ieee.org

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

What the attacker needed

Attacker within BLE range of the robot; hardcoded BLE keys are publicly known; robot uses the vulnerable BLE Wi-Fi setup

The fix

Unitree should remove hardcoded keys, properly authenticate BLE users, and validate Wi-Fi credentials before executing them; the company says it has completed most fixes but they are not yet rolled out.

How it was found

  1. Encrypt the string 'unitree' with the hardcoded BLE keys to become an authenticated user.
  2. Send a BLE packet containing arbitrary code disguised as the Wi-Fi SSID and password.
  3. When the robot tries to connect to Wi-Fi, it executes the code with root privileges.

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.

These robots use a short-range wireless link called Bluetooth Low Energy to help you set up their Wi-Fi. The password that protects that setup step was built into the robot and is publicly known, so anyone nearby can pretend to be the owner. Once inside, they can send commands that the robot runs with the highest level of permission, letting them control it completely.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.