U.S. Dept Of Defense · Report #800608
IDOR - Delete Users Saved Projects
Validstatus
mediumseverity
5upvotes
18 Mar 2022disclosed
How it was found
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.