HexBrain

HackerOne · Report #116032

Private Program Disclosure in /:handle/reports/draft.json endpoint

Validstatus
6upvotes
16 Feb 2016disclosed

Summary

Analysis of the researcher's PoC revealed an issue in the HTTP codes returned for the /reports/draft.json endpoint:

sandboxed team: https://hackerone.com/[sandboxed team handle]/reports/draft.json Returned 401

EP (external program): https://hackerone.com/[external program handle]/reports/draft.json Returned 404

EP + private program: https://hackerone.com/[invite-only team handle]/reports/draft.json Returned 200 (empty response) <-- This is the information disclosure

private team without EP: https://hackerone.com/[invite-only team handle]/reports/draft.json Returned 401

public team: https://hackerone.com/[public team handle]/reports/draft.json Returned 200

user: https://hackerone.com/[user handle]/reports/draft.json Returned 404

We have corrected the issue by ensuring the same HTTP code is returned for both EP and EP + private program handles.

How it was found

PoC revealed an issue in the HTTP codes returned for the /reports/draft.json endpoint:

private team: https://hackerone.com/[invite-only team handle]/reports/draft.json Returned {"error":"You need to sign in or sign up before continuing."} with Status Code:401 OK

user: https://hackerone.com/[user handle]/reports/draft.json Returned 404 thanks

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original