HackerOne · Report #290930
Information Disclosure when /invitations/<token>.json is not yet accepted
How it was found
Hi Team,
Summary:
First, i just want to clarify that this finding seems a purely human mistake from one of the hackerone member team who created a summary of this report: #283309
I have found that you guys (HackerOne) was disclosing email address and private program as part of this report summary of previously disclosed report: https://hackerone.com/reports/283309
Summary screenshot below:
███████
You will observed that HackerOne team create a summary of the report, but the summary discloses the token of the report PoC of the researcher: https://hackerone.com/invitations/█████████.json , but since the token is still valid (means invitation note yet accepted) it discloses the email address of the researcher and the private program.
PoC (Steps to reproduce)
-
Load the invitation token that hackerone mentioned on the summary: https://hackerone.com/invitations/█████.json
-
Response
{"token":"█████","type":"Invitations::ReportDraft","auth_option":"use-existing-account","email":"████","status":"never","expires_at":null,"team":{"name":"████","handle":"██████","state":"soft_launched","profile_picture":"https://profile-photos.hackerone-user-content.com/production/000/009/583/█████.png?1456279218","url":"https://hackerone.com/██████████"}}
Researcher email address: ███
Private program handle name: █████████
█████
Mitigation:
First, immediately remove the token on the summary, second it is good to not display the email address of the researcher on the json response.
Let me know if anything else is needed.
Regards Japz