Skip to content
IDOR Write-up Beginner

I Found My First Bugs in 48 Hours: A Beginner’s Real-World Guide

The author found an IDOR where changing a user ID in a GET request returned another user's profile, and a broken access control flaw where changing an activity ID in a URL allowed access to an uninvited activity. An attacker could view other users' data and interact with activities they were not authorised to access.

codii Follow

Published on medium.com

Can a bug really be found in your first 48 hourson a platform like Bugcrowd?

Codi, 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 relied on user-supplied identifiers without checking whether the authenticated user was authorised to access the referenced object.

Impact

An attacker could view other users' profile details and access, answer, and view results of activities they were never invited to.

What the attacker needed

A free account; two test accounts; a proxy tool like Burp Suite or OWASP ZAP

How it was found

  1. Create two test accounts, such as teacher and student.
  2. Capture the avatar update request with a proxy.
  3. Change the user ID in the request to another user's ID and observe a 403 error.
  4. Change the request method from PUT to GET and send it again.
  5. Observe that the other user's profile details are returned.
  6. Change the activity ID in the browser's address bar and reload the page to access an uninvited activity.

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.

The author found two common web bugs: one where changing a number in a request let them see someone else's profile, and another where changing a number in a web address let them join a class activity they were not invited to. These are access control mistakes: the website checked who you were but not whether you were allowed to see that specific item.

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 codii

View all

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