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.
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
- Navigate to your account -> Saved Searches.
- Copy the url of the delete request
https://████/█████/████████={search_id} - 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.
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
- Navigate to your account and then to Saved Searches.
- Copy the URL of the delete request, which contains your search ID.
- Replace your search ID with the victim's search ID and send the request.
- 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.