My first bug on Google
An endpoint that returned a user's profile data accepted any username in the URL, so changing the username showed other users' personal information. The attacker could view PII of other users by substituting usernames obtained from a separate endpoint.
Published on medium.com
So, I was trying Google this time to see if I get something interseting in it. I spent like 20 days on an acquisition and finally I found some interesting stuffs over there.
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
Impact
An attacker could view the personal information (PII) of other users.
What the attacker needed
Knowledge of other usernames
How it was found
- Observe a URI that returns user data including user IDs and usernames.
- Find an endpoint that shows your own account data using your username in the URL.
- Change the username in the URL to other usernames obtained from another endpoint.
- View the PII of other users.
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 page that showed your own profile when you visited a link containing your username. The problem was that it did not check that the username belonged to you, so anyone could change the username in the link to someone else's and see their private details. This is called an insecure direct object reference (IDOR): the site trusts a value from the URL without checking permission.
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.