Discovering an IDOR in Hoppscotch: A Deep Dive into Broken Access Control
A GraphQL authorization flaw in Hoppscotch allowed any authenticated workspace member to read another user's private request history and active sessions, and then modify or delete that history using the exposed identifiers. The issue arose because nested resolvers did not verify ownership of the requested user data.
Published on medium.com
Broken Access Control has consistently remained one of the most critical security risks in modern web applications. While developers often implement authentication correctly, authorization mistakes can be much harder to spot especially in applications built around GraphQL, where nested resolvers can unintentionally…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the GraphQL resolvers for nested fields (such as a team member's user object and its history) did not verify that the authenticated user owned the requested resource, and mutations authorised solely on the object identifier.
Impact
Any authenticated workspace member could read another user's private request history and active sessions, and could modify or delete that history; no elevated privileges were needed.
What the attacker needed
A standard authenticated account; membership in the same workspace
The fix
The vulnerability was fixed through the maintainers' coordinated disclosure process.
How it was found
- Authenticate as a normal workspace member.
- Query the shared workspace to enumerate team members.
- Extract another user's private request history and session information.
- Use one of the exposed history identifiers to modify the victim's history.
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 write-up has not been written yet. The Original tab links to the source.
In Hoppscotch, a team workspace lets people share some things but keep their personal request history private. The bug meant that any member could ask the system for another member's private history and even change it, because the system didn't check who owned the data when answering certain requests.
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.