Skip to content
Access control Write-up Beginner

The Simple P3: Not a Joke

A removed admin could reuse a previously saved invite link to regain admin privileges on the team. An attacker with a saved invite link could escalate back to admin after removal.

medium.com

Published on medium.com

Here’s callgh0st. Others might know me as something else (Who knows? :)) I’m sorry for not keeping you updated.

callgh0st, 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 invite link remained valid after the user was removed, allowing re-acceptance and re-granting of admin privileges.

Impact

A removed admin could regain admin access and potentially manipulate data or settings, though the text does not specify any further exploitation.

What the attacker needed

Attacker has a saved invite link; attacker was previously an admin; owner removes the attacker

How it was found

  1. Owner creates a custom invite link for a user to join as admin.
  2. User accepts the invite and becomes admin.
  3. Owner removes the user from the team, revoking admin access.
  4. User uses the saved invite link, signs up, and is granted admin privileges again.

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.

When someone is removed from a team, their access should stop completely. Here, an old invitation link still worked, so the removed person could sign up again and become an admin. This means the system did not properly cancel the invitation when the person was removed.

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.