Skip to content
IDOR Write-up Beginner

BOLA Explained: How I Accessed Another User’s Data by Changing

A job-hunting platform's API returned any user's full profile when the numeric user ID in the URL was changed, without checking that the profile belonged to the logged-in user. An attacker could enumerate IDs to read every private profile, and a related endpoint allowed editing another account's saved job listing.

Yamini Yadav_369 Follow

Published on osintteam.blog

It was almost midnight, and I was testing a fictional job-hunting platform I’ll call JobConnect for this story — the kind of app where you build a profile, upload a resume, and companies browse candidates. I had just finished editing my own profile, and I had Burp Suite running quietly in the background, capturing…

Yamini Yadav_369, on osintteam.blog

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 API fetched objects by the ID supplied in the request without verifying that the object belonged to the authenticated user.

Impact

Any logged-in user could enumerate and read every profile on the platform, and in a related case edit content that was not theirs.

What the attacker needed

A free account; a second account you control; ability to intercept requests

How it was found

  1. Create two accounts you control, A and B.
  2. As Account A, perform an action and capture the request, noting the object ID.
  3. While logged in as Account B, request Account A's object ID.
  4. Try PUT, PATCH or DELETE requests as B against A's object ID.
  5. Check IDs in bodies, query parameters and custom headers, not just the URL.

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.

When you log in, the app gives you a session so it knows who you are. This bug is that the app never checked whether the data you asked for was yours. By changing a number in the web address, you could ask for someone else's profile and the server handed it over.

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 Yamini Yadav_369

View all

13 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.