View another user information with IDOR vulnerability
A user profile page trusted a numeric identifier stored in a cookie, so changing that value returned another user's profile information. An attacker with an account could view other users' details by altering the cookie value.
Originally disclosed on HackerOne
- Triaged in 3 days
- Fixed in 17 days
- Disclosed after 44 days
1- Navigate to the system. (https://███████/login.php) 2- Navigate to register page. (https://██████████/register.php)(i created user, username:██████ pass: TEst.123.!) 3- Login to the system. (https://███/login.php) 4- Navigate to "My Profile Page". 5- Intercept the request. 6- Change the "UID2=4820038" cookie value with "UID2=4820036". 7- Send the request to server. 8- View another user information.
Impact
I can view another user information.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An authenticated attacker could view other users' profile information by changing a cookie value.
What the attacker needed
A free account; ability to intercept requests
How it was found
- Register an account and log in to the system.
- Open the My Profile Page.
- Intercept the resulting request.
- Change the UID2 cookie value to a different number.
- Send the modified request to the server.
- Observe another user's information in the response.
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 report has not been written yet. The Original tab links to the source.
A cookie is a small piece of data your browser sends back to a website to remember who you are. Here the site used a number in that cookie to decide which profile to show, and never checked that the number belonged to the logged-in user. By editing the number, the tester made the site display someone else's profile.
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.