Skip to content
Info disclosure Disclosed report Beginner

View Any Program's Team Members through GET https://hackerone.com/invitations/

An invitation endpoint returned a JSON response listing a program's team members, which could be viewed via an invitation token.

nickcas Follow

Originally disclosed on HackerOne

Bounty$1,000 Medium View original
  • Triaged in 26 hours
  • Fixed in 7 days
  • Paid in 7 days
  • Disclosed after 7 days

Summary by the program

@nickcas discovered that it was possible to view all the team members of a program through a JSON response that is sent when a user is invited to collaborate on a report (via the /invitations/<token> endpoint). He was able to provide a very clear PoC, which consisted of a list showing all the members of the HackerOne security program. We resolved the issue by removing the unneeded information from the response in the case of collaboration requests.

The original report as published on HackerOne, by nickcas. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 4 min read.

What the report shows

The target is HackerOne itself, specifically the feature that lets a user invite someone to collaborate on a report. When a user is invited, the application serves a JSON response from the /invitations/<token> endpoint. That response is what the researcher, @nickcas, examined.

The finding is that this JSON response exposed the full list of team members of a program. The JSON response sent when a user is invited to collaborate on a report exposed the full list of team members of a program, including the members of the HackerOne security program itself.

The report credits the researcher with a clear proof of concept: a list showing all the members of the HackerOne security program, obtained through that response. The report does not include the raw request or the raw JSON body, so there is no payload to reproduce here beyond the endpoint path itself:

The issue was classified as Information Disclosure at medium severity, with a bounty of 1000.00 USD, and was disclosed on 2017-11-01. The program fixed it by removing the unneeded information from the response in the case of collaboration requests.

Root cause

The collaboration feature only requires enough information to identify the report and the invited party, but the serialised response also included the program's team membership. This is a classic over-fetching problem: the handler returns a full model or a broad serialisation of related records rather than a narrow view tailored to the caller's role and the purpose of the request.

Impact

The exposure is read-only and limited to membership data: who belongs to a given program's team.

How this kind of bug works

Many web applications expose objects through endpoints that take an identifier, a token or a slug and return a serialised representation. Frameworks make it easy to return a whole model, including nested associations, and developers often do so because the client needs "some" of the data. The result is that fields and related records leak beyond the intended audience.

Invitation and sharing flows are especially prone to this because they sit at a trust boundary. The recipient of an invitation is not yet a member of the program, yet the endpoint must show them something about the program and the report. If the serialiser is shared with the member-facing views, the invitee receives the member view's payload.

The defences are straightforward in principle: return explicit, minimal response shapes per endpoint; authorise the caller against the specific fields being returned, not just against the endpoint; and treat tokens as identifying a single invitation, not as a grant to read program metadata. Response filtering at the serialisation layer, rather than ad hoc removal in each handler, prevents the same leak reappearing in a new endpoint.

How to test for it

  1. Map the flows that hand data to people who are not yet trusted: invitations, share links, password resets, export links, embed tokens, public report views.
  2. Capture the requests those flows make and note every endpoint that returns JSON with an identifier in the path or query.
  3. Compare the response for a low-privilege or unauthenticated caller with what that caller should see. Look for nested objects, arrays of users, role fields, email addresses, internal identifiers and counts.
  4. Try the same endpoint with a token from a different context, or with no session at all, to see whether the response changes.
  5. A positive result is a response that contains records the caller has no legitimate reason to read, such as a full member list, and that you can tie to a specific program or organisation.

Common false positives: data that is already public (public program pages often list team members deliberately), fields that are placeholders or empty arrays, and identifiers that reveal nothing beyond an opaque value. Confirm that the data is genuinely restricted before reporting, and check the program's policy on what counts as sensitive.

How it is fixed

The fix was to remove the unneeded information from the response in the case of collaboration requests.

Hunting notes

This class of bug hides in secondary flows: anything that renders a preview, a confirmation page, a share sheet or an email template tends to pull a broad object and render part of it. Recon signals include endpoints with token or slug path segments, JSON responses to unauthenticated requests, and API routes that mirror internal admin views. GraphQL and REST endpoints that accept an include or expansion parameter are worth probing for related records.

To get a report accepted, show the boundary clearly: state who the caller is, what they are authorised to see, and what the response actually contained, with a minimal reproduction. Redact other people's personal data in screenshots, and demonstrate impact in terms of the program's own data rather than a generic claim.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 5 min read.

What happened, in plain words

HackerOne is a platform where companies (called programs) publish bug bounty programmes and security researchers report vulnerabilities to them.

One of HackerOne's features lets a user invite someone else to collaborate on a report. When you invite a person to collaborate on a report, the server sends a JSON response. (JavaScript Object Notation), a common format for sending data between a browser and a server. The invitation page lives at a web address of the form /invitations/<token>.

The researcher, @nickcas, looked at the JSON that the server sent back for an invitation and found that it contained far more than the invitation itself: it included the complete list of team members of the program the invitation belonged to. He demonstrated this with a clear proof of concept, a list showing all the members of the HackerOne security program itself.

The problem was that the JSON response sent when a user is invited contained the full team member list of the program. The report does not include the raw request or the raw JSON body, so the only part of the exchange we can reproduce is the endpoint path:

Line by line: GET is the HTTP method used when a browser asks to retrieve something; /invitations/<token> is the path on the server, where <token> stands for the random string belonging to one invitation. Nothing else about the request is given.

The issue was classified as Information Disclosure (data that should stay private is exposed) at medium severity, with a bounty of 1000.00 USD, and was disclosed on 2017-11-01. HackerOne fixed it by removing the unneeded information from the response for collaboration requests.

Why it happened

This is often called over-fetching: returning a full model rather than a narrow view tailored to the caller.

What the impact was

The exposure was read-only and limited to membership data: who belongs to a given program's team.

In general, how this kind of bug works

Many web applications hand out objects through endpoints that take an identifier, a token or a slug (a readable name in the address) and return a structured representation. Frameworks make it easy to return a whole record, including nested associations, because the client needs "some" of the data. The result is that fields and related records leak beyond the intended audience.

Invitation and sharing flows are especially prone to this because they sit at a trust boundary. The recipient of an invitation is not yet a member of the program, yet the endpoint must show them something about the program and the report. If the same serialiser (the code that turns data into JSON) is shared with member-facing views, the invitee receives the member view's payload.

The defences are straightforward in principle: return explicit, minimal response shapes per endpoint; authorise the caller against the specific fields being returned, not just against the endpoint; and treat tokens as identifying a single invitation, not as a grant to read program metadata. Filtering at the serialisation layer, rather than ad hoc removal in each handler, stops the same leak reappearing in a new endpoint.

In general, how to test for it

  1. Map the flows that hand data to people who are not yet trusted: invitations, share links, password resets, export links, embed tokens, public report views.
  2. Capture the requests those flows make and note every endpoint that returns JSON with an identifier in the path or query.
  3. Compare the response for a low-privilege or unauthenticated caller with what that caller should see. Look for nested objects, arrays of users, role fields, email addresses, internal identifiers and counts.
  4. Try the same endpoint with a token from a different context, or with no session at all, to see whether the response changes.
  5. A positive result is a response that contains records the caller has no legitimate reason to read, such as a full member list, and that you can tie to a specific program or organisation.

Common false positives: data that is already public (public program pages often list team members deliberately), fields that are placeholders or empty arrays, and identifiers that reveal nothing beyond an opaque value. Confirm that the data is genuinely restricted before reporting, and check the program's policy on what counts as sensitive.

In general, how it is fixed

The fix was to remove the unneeded information from the response in the case of collaboration requests.

In general, where to look

This class of bug hides in secondary flows: anything that renders a preview, a confirmation page, a share sheet or an email template tends to pull a broad object and render part of it. Signals worth watching include endpoints with token or slug path segments, JSON responses to unauthenticated requests, and API routes that mirror internal admin views. GraphQL and REST endpoints that accept an include or expansion parameter are worth probing for related records.

To get a report accepted, show the boundary clearly: state who the caller is, what they are authorised to see, and what the response actually contained, with a minimal reproduction. Redact other people's personal data in screenshots, and demonstrate impact in terms of the program's own data rather than a generic claim.

Glossary

  • Bug bounty programme: a scheme where an organisation pays researchers for reporting security flaws.
  • Program: on HackerOne, a company's bug bounty presence, with its own team and scope.
  • JSON: a text format for structured data, commonly used between browsers and servers.
  • Endpoint: a specific address on a server that accepts requests and returns a response.
  • Token: a random string that identifies one specific thing, here one invitation, like a claim ticket.
  • GET: the HTTP method a browser uses to retrieve a resource.
  • HTTP: the protocol browsers and servers use to exchange requests and responses.
  • Information Disclosure: a vulnerability class where data that should stay private is exposed.
  • Severity: a rating of how serious a vulnerability is, here medium.
  • Bounty: the money paid to a researcher for a valid report.
  • Proof of concept (PoC): a demonstration that a vulnerability is real.
  • Over-fetching: returning more data than the caller needs.
  • Serialiser: code that converts data into a format such as JSON for sending.
  • Trust boundary: a line between parties with different levels of trust, such as members and invitees.
  • Authorisation: deciding what a given caller is allowed to see or do.
  • Social engineering: manipulating people into revealing information or taking actions.
  • Slug: a readable identifier in a web address.
  • GraphQL / REST: two common styles of web API for requesting data.
  • Regression test: an automated test that checks a fixed bug stays fixed.
  • False positive: a finding that looks like a vulnerability but is not.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.