HexBrain

Lab45 · Report #868590

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

Validstatus
mediumseverity
34upvotes
12 May 2020disclosed

How it was found

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.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original