From Auth Bypass to IDOR: Chaining Vulnerabilities to Access Other Users’ Data (PART 2)
An IDOR vulnerability in the Member feature allowed an attacker to access other users' private data by changing a sequential identifier in the URL. This was chained with a previously found authentication bypass, enabling unverified users to access the entire application and then extract sensitive information.
In the previous write-up, I discussed how the “forgot password” feature could be exploited to bypass authentication, allowing users who had not been verified by an administrator to gain full access to the application.
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 application failed to verify that the requesting user was authorised to access the requested member's data, relying only on sequential identifiers.
Impact
An attacker could access other users' private data, and combined with the authentication bypass, this could lead to exposure of sensitive information across users.
What the attacker needed
Authentication bypass (from Part 1); knowledge of sequential member IDs
How it was found
- Bypass authentication using the forgot password flaw (from Part 1).
- Navigate to the Member menu and click on a member's details to open a popup.
- Observe the URL containing a sequential member ID.
- Change the ID in the URL to another user's ID to view their public data.
- Modify the endpoint from 'edit' to 'view' to retrieve private JSON 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 describes two security holes. First, a way to log in without proper verification (authentication bypass). Second, once inside, the system did not check if you were allowed to see other people's information; by changing a number in the web address, you could view private details of any user. Together, these let an attacker see data they should not.
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.