Skip to content
IDOR Disclosed report Beginner

IDOR - Delete Users Saved Projects

An IDOR vulnerability in the delete saved searches endpoint allowed an attacker to delete any user's saved searches by changing the search ID in the request. The IDs were sequential, enabling fast brute-force deletion of all users' saved searches.

ahmd_halabi Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 2.0 years
  • Disclosed after 2.1 years

Target Url https://█████/██████████/█████████={Target_id}

Summary: Hello, I found an IDOR bug in deleting users saved projects. Through changing the search id in the above url in a GET request, you can delete saved projects for any users.

Step-by-step Reproduction Instructions

  1. Navigate to your account -> Saved Searches.
  2. Copy the url of the delete request https://████/█████/████████={search_id}
  3. Replace your search id with the target victim search id and send the request. The target saved search will be deleted from the victim

To be more clear I uploaded this video, please watch it. {}

Suggested Mitigation/Remediation Actions

Check the user that is deleting the saved searches if he is legitimate and the real owner of that search or not.

Impact

This would lead the attacker to delete all users saved searches through bruteforcing their ids. And since the id are incremented in an easy sequence, attacker can do this attack very fast.

The original report as published on HackerOne, by ahmd_halabi. 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 did not verify that the authenticated user owned the saved search before deleting it.

Impact

An attacker could delete all users' saved searches by brute-forcing the sequential IDs, and the attack could be performed very fast.

What the attacker needed

Victim has saved searches

How it was found

  1. Navigate to your account and then to Saved Searches.
  2. Copy the URL of the delete request, which contains your search ID.
  3. Replace your search ID with the victim's search ID and send the request.
  4. The victim's saved search 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.

An IDOR (Insecure Direct Object Reference) happens when a website uses an identifier like a number to refer to something (here, a saved search) but doesn't check if the person making the request actually owns it. By simply changing the number in the URL, an attacker can delete someone else's saved search. Because the numbers are predictable, they can try many numbers quickly.

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 ahmd_halabi

View all

12 more disclosed reports, best first.

More from U.S. Dept Of Defense

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.