Skip to content
IDOR Write-up Beginner

How I Found 3 Bugs in a Single Day

The blog subdomain allowed deleting comments by changing the comment identifier without checking the authorization token, so an attacker could delete other users' comments. The same subdomain also lacked rate limits on OTP verification and comment posting, though these were closed as not applicable or informative.

dsmodi484 Follow

Published on medium.com

In this write-up, I will share my journey of discovering my first high-severity bug and making it to the Hall of Fame (HOF). I’ll take you through the entire process, from selecting a target to reporting an IDOR vulnerability.

cryptoshant🇮🇳, 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 server trusted the comment identifier supplied by the client and did not verify that the authenticated user owned that comment.

Impact

An attacker could delete other users' comments without authorization; the report was triaged as high severity.

What the attacker needed

A free account; victim has posted a comment

How it was found

  1. Create an account and post a comment on a blog post.
  2. Intercept the delete comment request and note the commentId parameter.
  3. Post a comment from a different account and copy its commentId from the comment link.
  4. Replace the commentId in the delete request with the other user's commentId and forward it.

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 comment identifier is a unique code for each comment. The site did not check that the person deleting a comment was the one who wrote it, so anyone could delete anyone else's comment by swapping the code. This is called an IDOR, or insecure direct object reference.

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 dsmodi484

View all

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