From “Probably a False Positive” to a $$$$ Bounty: How I Exp
A low-privilege user could create a table through an API request even though the UI showed no result, because the creation was queued in the background. The table was eventually created with the low-privilege user as owner, bypassing the intended permission restriction.
Published on medium.com
Hello everyone. I am MD RASEL RANA, a 25 years old bugbounty hunter from Bangladesh.
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 endpoint queued the table creation asynchronously without properly checking the user's permission before accepting the request.
Impact
A low-privilege user could create tables despite lacking permission, potentially leading to unauthorised data creation or resource abuse.
What the attacker needed
A low-privilege account with read-only permission; access to the API endpoint
How it was found
- Log in as an admin and create a table.
- Log in as a normal user and try to access the table without permissions; this fails.
- Assign the normal user read-only permission.
- As the read-only user, send an API request to create a table; it returns 200 OK but the UI shows nothing.
- Wait some time and refresh; the table appears, owned by the read-only user.
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 user with only 'read-only' permission should not be able to create a table. The attacker sent a request to create a table anyway, and although the screen showed nothing at first, the table was actually created later in the background. This means the permission check was not properly enforced.
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.