Skip to content
IDOR Disclosed report Beginner

IDOR - Delete all Licenses and certifications from users account using CreateOrUpdateHackerCertification GraphQL query

The GraphQL mutation used to create or update a user's licences and certifications did not check that the supplied identifier belonged to the caller. By changing the ID in the request, an attacker could delete other users' licences and certifications.

harshdranjan Follow

Originally disclosed on HackerOne

High 7.5 View original
  • Triaged in 24 hours
  • Fixed in 4 days
  • Paid in 24 hours
  • Disclosed after 5 days

Summary: Hey team,

While editing our Licenses and certifications if we change the ID number we can delete other users Licenses and certifications. it simply can be done by editing the ID number in our graphql query. If change the ID from 1 to X possible range then we can delete all the Licenses and certifications present between these.

Steps To Reproduce

  1. Log in to your own account in two browsers A and B with User A and User B
  2. Create your own *Licenses and certifications in both the account
  3. Now edit your own *Licenses and certifications and Intercept this using a Burp Proxy
  4. Now In the body change the ID number and you will be able to delete all the Licenses and certifications present in HackerOne
  5. For now change the ID to the Licenses and certifications ID of the Other account and it will be deleted.

PoC Video: ████

Impact

Able to delete all the Licenses and certifications present in HackerOne

The original report as published on HackerOne, by harshdranjan. 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 CreateOrUpdateHackerCertification mutation looked up and modified the record by the client-supplied ID without verifying that the record belonged to the authenticated user.

Impact

An attacker could delete the licences and certifications of any user, and by iterating over IDs could remove all such entries on the platform.

What the attacker needed

Two accounts; a proxy to intercept requests

How it was found

  1. Log in to two accounts, one in each of two browsers.
  2. Create a licence or certification entry in both accounts.
  3. Edit your own entry and intercept the request with a proxy.
  4. Change the ID in the request body to another user's entry ID.
  5. The other user's entry 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.

A licence or certification entry has a number (an ID) that tells the site which entry it is. The site trusted whatever number the user sent and acted on it without checking who owned that entry. This is called an IDOR: changing an identifier to reach someone else's data.

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 harshdranjan

View all

7 more disclosed reports, best first.

More from HackerOne

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.