Skip to content
IDOR Disclosed report Beginner

IDOR on deleting drafts on https://apps.topcoder.com/wiki/users/viewmydrafts.action via discardDraftId parameter

The draft deletion endpoint on the wiki accepted a draft identifier from the request without verifying that the draft belonged to the requesting user. An attacker could change that identifier to delete other users' drafts.

meryem0x Follow

Originally disclosed on HackerOne

Medium 5.7 View original
  • Triaged in 12 hours
  • Fixed in 4 days
  • Disclosed after 5 days

Hi :)

On https://apps.topcoder.com/wiki/users/viewmydrafts.action, you can see your drafts, edit or delete them. Users can delete their own drafts on https://apps.topcoder.com/wiki/users/viewmydrafts.action?discardDraftId=<DRAFT_ID>. But there is no check and an attacker can change discardDraftId and delete all drafts.

Impact

An attacker can delete other user's drafts.

The original report as published on HackerOne, by meryem0x. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the server trusted the draft identifier supplied in the request and never confirmed the draft belonged to the logged-in user.

Impact

An attacker could delete other users' drafts.

What the attacker needed

A logged-in account; knowledge of a draft identifier

How it was found

  1. Open your own drafts page while logged in.
  2. Trigger deletion of one of your drafts and note the draft identifier in the request.
  3. Change that identifier to another value and send the request again.
  4. Observe that another user's draft is deleted.

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 report has not been written yet. The Original tab links to the source.

A draft is an unpublished page a user is still working on. The site deleted a draft based only on a number in the web address, without checking that the person asking owned that draft. By changing the number, someone could delete drafts belonging to other people.

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 meryem0x

View all

13 more disclosed reports, best first.

More from Lab45

View all

The newest disclosed reports for this program.

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.