Skip to content
Access control Write-up Intermediate

“How I Found a Privilege Escalation Bug by Accident and Earned

A user removed from a group could rejoin using the same invite link by changing the HTTP method of the join request, and once rejoined, the admin could no longer remove them. This allowed bypassing the removal restriction and becoming an untouchable member.

Saddamzzz Follow

Published on medium.com

While I was casually bug hunting one day, I stumbled upon an interesting privilege escalation bug — and unexpectedly earned a $830 reward for it.

Saddamzzz, 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

Impact

A removed user could rejoin a group and become impossible to remove, bypassing the admin's control.

What the attacker needed

A user account; an invite link to a group; ability to intercept and modify requests

How it was found

  1. Join a group using an invite link.
  2. Remove your account from the group manually.
  3. Try to rejoin using the same invite link; it fails because the admin had removed you.
  4. Capture the join request in Burp Suite and replay it; no luck.
  5. Change the HTTP method of the request and send it; it works and you rejoin the group.
  6. Observe that the admin can no longer remove you; attempts return an error.

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.

This is about a website where you can join groups via invite links. Normally, if an admin removes you, you can't rejoin with the same link. But the attacker found that by changing the type of request (like from GET to POST), they could sneak back in and even prevent the admin from removing them again.

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.