Skip to content
IDOR Disclosed report Beginner

███████ ' 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.

0xs4m Follow

Originally disclosed on HackerOne

  • 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

  1. Go to registration page (████████)
  2. Verified your account.
  3. 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

████████████████

The original report as published on HackerOne, by 0xs4m. 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 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

  1. Register and verify an account, then log in.
  2. Create two accounts, one as attacker and one as victim, each with an animal.
  3. In the attacker's account, delete the attacker's own animal and capture the request.
  4. 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.

More by 0xs4m

View all

4 more disclosed reports, best first.

More from Mars

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.