███████ ' can delete any animal from other account ' at ██████████
An authenticated user could delete animals belonging to other users by changing an animal identifier in a request. The system failed to check that the animal belonged to the requesting user, allowing unauthorised deletion of another user's data.
- Disclosed after 2 months
Summary by the program
A vulnerability was present in the ████████████ website that allows an authenticated user to delete animals belonging to other users' accounts. This issue arises due to an Insecure Direct Object Reference (IDOR) vulnerability where the system's authorization mechanism fails to properly validate and restrict access to protected resources based on the user's identity. As a result, a malicious user can manipulate the ██████████████ parameter in the request sent to the ████████████████ endpoint to delete any animal from other users' accounts, leading to unauthorized data deletion.
The report
hi team i found ███████████ , i can delete any animal from other account easily
- Go to registration page (████████)
- Verified your account.
- Go to login page and login your account.
For the fastly test, use this credentials to login (my test account)
█████████████████ For Attacker
email: ████████████████ pass: Password
█████████████ For Victim
email: ████ pass: Password
After login i create 2 account for attacker and victim , in the attacker's account, i delete my animal, and i send request to burp .. i change my animal id to victim animal id so i succeeded
███
Impact
████████████████
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 endpoint that deletes an animal did not verify that the animal belonged to the authenticated user, relying only on the supplied identifier.
Impact
An authenticated attacker could delete animals belonging to other users, causing unauthorised data deletion.
What the attacker needed
A registered and verified account; knowledge of another user's animal identifier
How it was found
- Register and verify an account, then log in.
- Create two accounts, one as attacker and one as victim, each with an animal.
- In the attacker's account, delete the attacker's own animal and capture the request.
- Change the animal identifier in the request to the victim's animal identifier and send it.
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.
When you delete your own animal, the website sends a request containing an identifier for that animal. The site did not check that the animal actually belonged to you before deleting it. By swapping in someone else's identifier, an attacker could delete their animal.
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.