IDOR leads to view other user Biographical details (Possible PII LEAK)
The application exposed user biographical and contact details through endpoints that accepted a numeric user identifier in the URL without checking ownership. An attacker could change the identifier to another user's value and view that user's personal information.
Originally disclosed on HackerOne
- Triaged in 22 hours
- Fixed in 14 days
- Disclosed after 15 days
Hii Triager,
Through researching on the DoD, I discovered an IDOR Vulnerability that allows a malicious user to access other user's demographic details.
Vulnerable domain : www.██████████
NOTE: This IDOR vulnerability arises on all the endpoints in the same single base_path i..e /JOINOnline/Board/QuestionCard/<ENDPOINT> , Hence I reported in a single report. Here are some vulnerable endpoints-
/JOINOnline/Board/QuestionCard/<user-id>/1021/1614/false/JOINOnline/Board/QuestionCard/<user-id>/1021/1611/false
For testing, I created two accounts with user-id : 1328 & 1327, you can test with them.
Required 2 test Accounts:
- User-A
- User-B
Steps to Reproduce
1 - Login as User-A & User-B, Fill the required details at : https://www.█████/JOINOnline/Board/BoardIntro/1021/1327/False
2 - Now, from User-A account navigate to Contact-Info , Change the User-A numeric-id (in URL) with User-B numeric-id
3 - You'll see the User-B Contact Details from User-A account.
References
███████
Impact
1 - PII Leak 2 - IDOR
System Host(s)
www.██████████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
Required 2 test Accounts:
- User-A
- User-B
Steps to Reproduce
1 - Login as User-A & User-B, Fill the required details at : https://www.██████████/JOINOnline/Board/BoardIntro/1021/1327/False
2 - Now, from User-A account navigate to Contact-Info , Change the User-A numeric-id (in URL) with User-B numeric-id
3 - You'll see the User-B Contact Details from User-A account.
Suggested Mitigation/Remediation Actions
- Put Proper Authentication on the vulnerable endpoints
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
Root cause
Likely the endpoints used the numeric user identifier from the URL to fetch records without verifying that the authenticated user owned that identifier.
What the attacker needed
Two user accounts; victim's numeric identifier
How it was found
- Log in as two separate users and fill in the required details.
- From the first user's account, open the Contact-Info page.
- Replace the first user's numeric identifier in the URL with the second user's identifier.
- Observe the second user's contact details displayed while still logged in as the first user.
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.
An IDOR (Insecure Direct Object Reference) happens when a website uses a simple identifier, such as a number in the address, to decide which record to show, but does not check that the person asking is allowed to see it. Here, changing the number in the web address from your own account's number to someone else's showed that person's contact and biographical details.
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.