Skip to content
IDOR Write-up Intermediate

$500 for a UUID Swap: I Almost Gave Up on This IDOR

An API endpoint that returned a user's own trusted-device information could be reworked to return another member's device details by substituting their UUID. This exposed User-Agent, IP address, and cryptographic keys of other users in the same tenant.

medium.com

Published on medium.com

This company provides an application that can best be described as a modern-day password manager. A key feature of the app is the ability to add a trusted device, which allows users to bypass OTP verification during the login process on that specific device.

tinopreter, on medium.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

Likely the server did not verify that the trusted-device record requested via the member UUID belonged to the authenticated user, allowing any member's device info to be read.

Impact

An attacker could retrieve other members' external IP addresses and cryptographic keys, which could aid further attacks; the report does not claim account takeover.

What the attacker needed

A free account; victim's UUID (leaked in share links)

How it was found

  1. Find the endpoint that returns your own trusted device info using your UUID.
  2. Try substituting another account's UUID into that endpoint; it returns a 403 error.
  3. Review JavaScript files to find an endpoint that returns limited member info using a UUID.
  4. Rework that endpoint to request trusted-device info for another member's UUID.
  5. Substitute another user's UUID and retrieve their device information.

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.

An IDOR is when a website uses an identifier (like a user ID) in a request and does not check that the person making the request is allowed to see that item. Here, the identifier was a UUID (a long random string) and the attacker could swap it to see other people's device details. The fix is to check on the server that the requested device belongs to the logged-in user.

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.