From oos — getting bounty Improper Access Control to create an commentor account on the application.
An unauthenticated API endpoint for user signup was exposed in a JavaScript file, allowing the creation of accounts with a commentator role. The attacker could register such an account and log in, bypassing intended access controls.
Published on medium.com
Hello hackers! I hope you’re enjoying your good old days of bug hunting.
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 signup endpoint lacked authentication and authorisation checks, and its existence was exposed in a publicly accessible JavaScript file.
Impact
An attacker could create a commentator account without authorisation, potentially gaining access to functionality not intended for public users.
What the attacker needed
None
How it was found
- Search the application for API endpoints using browser search.
- Identify a JavaScript file containing the signup endpoint.
- Inspect the JavaScript file to find the endpoint path.
- Send a POST request to the signup endpoint to create an account.
- Log in with the created account and observe the assigned role.
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 website had a hidden sign-up page that anyone could use without logging in first. The author found it by searching the site's code, then used it to make an account with extra permissions.
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.