Skip to content
Access control Write-up Intermediate

Here’s how I discovered a high-severity broken access control vulnerability (BAC-1)

An editor could generate an invitation link and save it, then after being removed from the project, reuse that link to rejoin without the owner's action. This allowed the removed editor to view, modify, or delete sensitive data later added to the project.

Br0k3n_1337 Follow

Published on medium.com

I’m Sourav Khan Aka Br0k3n1337 Today, I will share how I discovered a high-severity broken access control issue. So let’s begin…

Br0k3n_1337 Aka Sourav Khan, 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 invitation token was not invalidated when the user was removed from the project, so it remained valid for later use.

Impact

A removed editor could rejoin the project without the owner's action and view, modify, or delete sensitive data added later.

What the attacker needed

A free account; victim clicks a link; none

How it was found

  1. Create a project and invite a second account as Editor.
  2. From the second account, generate an invitation link and save it for later.
  3. Remove the second account from the project using the main account.
  4. From the second account, use the saved invitation link to rejoin the project.

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 project lets people invite others with different roles, like editor or viewer. The problem was that an invitation link kept working even after the person was removed from the project. So a removed editor could sneak back in using an old link and see or change private information.

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.