Skip to content
Access control Write-up Beginner

UUIDs: A False Sense Of Security

An API endpoint returned organisation metadata to any user who supplied an organisation ID, without checking that the requester still belonged to that organisation. A user who had been removed from an organisation could still read its user list, emails, roles and project details.

medium.com

Published on medium.com

Free Article Link: Click for free!

Ehtesham Ul Haq, 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

The endpoint relied on the organisation identifier being hard to guess instead of verifying that the requesting user was still a member of that organisation.

Impact

A user who had been removed from an organisation could still read its metadata, including user emails, roles and project details, and could do so for any organisation whose identifier they knew.

What the attacker needed

A valid account on the application; knowledge of an organisation identifier; the user may have been removed from that organisation

How it was found

  1. Obtain the organisation identifier, for example from browser history or an invitation link received when joining the organisation.
  2. Send a GET request to the organisation data endpoint using that identifier.
  3. Receive the organisation metadata, including users, emails, roles and project details, even after being removed from the organisation.

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.

Every request to a website should be checked against who is asking and what they are allowed to see. Here the server only checked that the request contained a valid organisation identifier, not that the person making the request was still a member of that organisation. So someone who had been removed could still read private details about the organisation and its users.

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.