Skip to content
IDOR Write-up Intermediate

FB50 Smart Lock Vulnerability Disclosure (CVE-2019-13143)

The FB50 smart lock's mobile app exposed user data through an IDOR and lacked proper token management, allowing an attacker who knows the lock's MAC address to unbind the victim and bind the lock to their own account. This results in a complete transfer of ownership of the lock.

blog.securelayer7.net

Published on blog.securelayer7.net

Mobile & IoT Security

The author, on blog.securelayer7.net

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

Likely missing authorization checks on the unbind and bind API requests, combined with an IDOR that exposed user IDs and weak token management.

Impact

An attacker within Bluetooth range could unbind the victim's lock and bind it to their own account, gaining full control and the ability to unlock it.

What the attacker needed

Attacker within Bluetooth range; knowledge of lock's MAC address; mobile app installed

How it was found

  1. Scan Bluetooth to obtain the lock's MAC address and capture the request that returns device information including the QR code.
  2. Send the QR code in a request to retrieve user information, including the user ID.
  3. Tamper with the unbind request using the obtained user ID and lock ID to unbind the victim's device.
  4. Send a bind request with a new name, the attacker's user ID, and the MAC address to bind the lock to the attacker's account.
  5. Unlock the device using the mobile app while within Bluetooth range.

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.

The smart lock's phone app had a flaw where it revealed user details when given a lock's QR code, and it did not properly check who was allowed to unbind or bind the lock. An attacker nearby could use the lock's Bluetooth address to find the owner's user ID, then send requests to detach the lock from the owner and attach it to their own account. This let the attacker take full control of the lock.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.