Discovered 30 BOLA + IDOR vulnerabilities in a single subdomain (BBP).
The application exposed API endpoints that lacked proper object-level authorisation, allowing a regular user to access, delete, or modify resources belonging to other users, including admins. An attacker could read sensitive data, delete classrooms, and escalate privileges.
In this article, I’ll walk you through how I identified over 30 BOLA (Broken Object Level Authorization) and IDOR (Insecure Direct Object Reference) vulnerabilities in a single subdomain. This process involved a series of detailed steps, which I will explain in depth.
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 API endpoints did not verify that the authenticated user had permission to access or modify the requested object, relying only on the object identifier in the request.
Impact
A regular user could access sensitive data, delete resources, and escalate privileges, potentially affecting other users and admins.
What the attacker needed
A free account; victim's object identifier
How it was found
- Extract JavaScript files from the website to find API endpoints.
- Test endpoints with different HTTP methods, such as DELETE, to see if they perform actions without proper authorisation.
- Create two accounts (admin and user) and add the user to a classroom created by the admin.
- Using the user account, inspect HTTP history for sensitive admin data and try to access it.
- Manipulate HTTP methods (e.g., change to DELETE) to attempt unauthorised actions like removing a user from a classroom.
- Collect admin-specific API links and test them in the user account's browser to confirm access to sensitive data.
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 report is about a website where the API did not check whether the person making a request was allowed to access the specific item they asked for. For example, a normal user could change an ID in a request and see or delete another user's data, including an admin's. This is called an insecure direct object reference (IDOR) or broken object level authorisation (BOLA).
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.