Skip to content
IDOR Write-up Beginner

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.

Abin Follow

Published on medium.com

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.

Abin, on medium.com

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

  1. Create an account and explore the application's functionalities.
  2. Intercept requests for each functionality.
  3. Observe a WebSocket message containing another online user's ID, username, and profile image URL.
  4. Find a request containing a user ID parameter from the researcher's own account.
  5. Change the ID value to the one obtained from the WebSocket message.
  6. 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.

More by Abin

View all

5 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

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.