A Logical Bug That Slipped Through
A user whose access to a shared list was revoked could still copy the list by replaying a previously saved request. This let a former recipient obtain a copy of the list, including later updates made by the owner.
medium.com
Published on medium.com
This write-up is about a bug I found in a Bugcrowd program some time ago. Let’s get started.
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 copy action did not re-check the recipient's current permission at the time the request was processed, so a saved request kept working after access was revoked.
Impact
A user whose access was revoked could still copy the shared list, including updates made by the owner, but the issue was rated low severity.
What the attacker needed
Two accounts; owner shares list with recipient; recipient saves the copy request; owner revokes access
How it was found
- UserA creates a list and shares it with UserB, granting permission to copy it.
- While access is active, UserB starts a copy request and saves it with Burp Suite.
- UserA revokes UserB's access to the list.
- UserB replays the saved copy request and still receives a copy of the list.
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 you share something online, the site should stop letting the other person see it once you remove their access. Here, the site checked permission only when the request was first made, not when it was sent again later. So the other person could resend an old request and still get a copy.
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.