Finding The Hidden Function Led To A 300 Idor
A hidden endpoint for viewing all replies in a circle did not check whether the requester was still a member, so a removed user could replay a captured request to read comments. An attacker could read private comments from a circle they had been kicked out of.
Today I’m about to tell you guys a story about finding the beautiful BAC on a program so fasten your seatbelt and sit tight.
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 server did not verify that the user was still a member of the circle before returning all replies.
Impact
A removed member could read private comments in the circle, which may contain messages members did not want others to see.
What the attacker needed
Two accounts; attacker must be invited then removed; capture a request while still a member
How it was found
- Create two accounts: a manager and an attacker.
- Log in as the manager and post comments until the 'view more replies' option appears.
- Invite the attacker to the circle and have them comment until they also see 'view more replies'.
- Capture the request that loads all replies in Burp and send it to Repeater.
- Remove the attacker from the circle.
- Replay the captured request in Repeater and observe that comments are still returned.
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 circle is a private group where people post comments. The app had a special request that showed all replies, but it did not check if the person sending it was still allowed in the group. So someone who had been removed could still send that request and read the comments.
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.