Insecure Design Leading to Information Disclosure via Improper Ac
A WebSocket message exposed other users' identifiers and profile details, and an API request accepted a user ID parameter without checking ownership. An attacker could change the ID to read another user's information.
An insecure design flaw allowed information disclosure due to improper access control mechanisms. The application failed to enforce authorization checks, enabling unauthorized users to access sensitive data of other users.
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 trusted a user-supplied identifier and did not verify that the requesting user owned or was authorised to access the referenced data.
Impact
An attacker could access other users' data, violating privacy and potentially enabling account takeover, though the researcher stopped testing after confirming access.
What the attacker needed
A free account; ability to intercept traffic
The fix
The application should sanitise and authorise all WebSocket requests and enforce strict access controls that validate ownership before returning user data.
How it was found
- Create an account and explore the application's functionalities.
- Intercept requests for each functionality.
- Observe a WebSocket message containing another online user's ID, username, and profile image URL.
- Find a request containing a user ID parameter from the researcher's own account.
- Change the ID value to the one obtained from the WebSocket message.
- Observe that information from another user is returned.
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 was sending out details about other users, such as their user ID and username, in a live connection message. The site also had a request that took a user ID and returned that user's data without checking whether the person making the request was allowed to see it. By swapping in someone else's ID, the researcher could view their information.
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.