IDOR on HackerOne Hacker Review “What Program Say”
Published on medium.com
{{media:0}}
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.
Context
HackerOne runs its own bug bounty program, and this write-up covers a finding in one of its newer features at the time: Hacker Reviews, the block of feedback shown on a hacker's profile under the heading "What Program Say".
According to HackerOne's own support documentation, which the researcher quotes, the feature works like this: With Hacker Reviews, HackerOne customers have the option to send comments on hacker behaviour to HackerOne and the hacker after closing a report. In other words, a program's security team closes a report, then submits a review of the hacker's behaviour. The support article says customers can send comments on hacker behaviour to HackerOne and the hacker after closing a report.
The researcher describes the severity as Low and the weakness as Insecure Direct Object Reference.
Setup
There are two preconditions for a successful exploit, and both are stated explicitly in the report:
- The attacker must be a team member who can review a hacker (a hacker program participant).
- The victim must be a participant of the program, meaning they have submitted a report, regardless of that report's status. Even a report the security team has not yet touched makes the submitter a participant.
To get an account that could review a hacker, the researcher asked his friend @phspade, a member of the triage team on the Parrot Security bug bounty program on HackerOne, for permission to use one of the program's test accounts.
The researcher's own HackerOne account is japzdivino. The victim account used in the proof of concept is jong_jong, the HackerOne username of his girlfriend.
Finding it
While browsing disclosed reports in HackerOne's hacktivity, the researcher often visits the profiles of researchers who have recently disclosed a report, looking for ideas. He noticed that some researchers had a "What Program Say" section on their profile and assumed it was a new feature. Curious about how a review gets posted to a hacker's profile, he read the support article quoted above and realised the feature is meant for customers' security teams.
With access to a test account that could submit reviews, he set out to inspect the request that creates one.
Exploitation
Step 1: Create a report and submit a review
Using his own account japzdivino, the researcher submitted a test report to the Parrot Sec program. He then closed the test report and performed a Hacker Review on it, capturing the request in the process. The captured POST request was:
The body is form-encoded and carries the review's target and content: hacker_username identifies the hacker being reviewed, report_id ties the review to a closed report, positive and behavior describe the rating, and private_feedback and public_feedback hold the two feedback texts. The X-CSRF-Token header and the session Cookie are the request's anti-CSRF and authentication material.
Step 2: Try manipulating report_id
The first parameter that caught his attention was report_id. He changed it to the IDs of some private reports, hoping to receive an email containing the title of a private report. Nothing happened: the attempt to turn the parameter into an IDOR that reveals private report titles failed.
Step 3: Manipulate hacker_username
The second interesting parameter was hacker_username, which held his own username because the test report was his. Out of curiosity he replaced the value, changing hacker_username=japzdivino to hacker_username=jong_jong, and forwarded the request.
Step 4: Confirm the effect
Five minutes passed without any email notification about the review reaching him. He took that as confirmation of his assumption: the email had gone to jong_jong's email address instead. He logged in to his girlfriend's email account and confirmed the email had been sent there.
To check that the impact extends beyond email, he then visited jong_jong's profile and confirmed that the public review had been posted there as well.

The image sits at the top of the published post, under the title and byline.
Root cause
The review creation endpoint accepted the identity of the reviewed hacker from a client-supplied form field, hacker_username, and acted on it. The server acted on the client-supplied hacker_username, so a reviewer could direct a review at another user. Because the value was trusted as given, a reviewer could direct a review, both its email notification and its public profile entry, at any user. The report does not describe the server-side code, so the exact check that was missing is likely the participation check described in the preconditions.
Impact
An attacker who is a team member able to review a hacker can send a review, including its email notification and its public posting, to any HackerOne user who is a participant of the program, meaning anyone who has submitted a report to it, whatever that report's status. In the proof of concept this produced an email to the victim's address and a public review on the victim's profile. The researcher rates the severity as Low.
Fix
The report does not describe the fix that was applied.
Variants to test
- Other identity fields in review or feedback endpoints. Look for parameters naming a user, such as a username or user ID, in requests that trigger notifications or public content. A positive result is an email or profile entry appearing on an account you did not legitimately target.
- Report-bound actions. The
report_idattempt here failed, but the same pattern applies to endpoints that close, rate or comment on reports. A positive result is an action succeeding against a report that does not belong to your program. - Program scoping. Test whether a reviewer from one program can review a hacker who only participates in a different program. A positive result is a review being accepted for a user with no relationship to the reviewer's program.
- Notification side channels. Where a direct response reveals nothing, watch for email delivery, profile changes or activity feeds as confirmation, as this report did.
What happened, in plain words
HackerOne is a website where companies (called "programs") pay independent security researchers (called "hackers") to find bugs in their software. HackerOne also runs a bug bounty program on its own website, and this story is about a bug found there.
The bug was in a feature called Hacker Reviews. When a company closes a bug report that a hacker sent in, the company's security team can leave a comment about how the hacker behaved: was the report clear, was the hacker friendly, and so on. The support article says customers can send comments on hacker behaviour to HackerOne and the hacker after closing a report.
The researcher noticed that the request his browser sent when submitting one of these reviews contained a field naming which hacker the review was for. The website acted on that field as supplied. By changing the username in that field to somebody else's, he could make a review land on a completely different person: the email went to that person's inbox and the public comment appeared on that person's profile.
This kind of bug is called an Insecure Direct Object Reference, or IDOR. The name sounds complicated, but the idea is simple. Imagine a cloakroom where you hand in your coat and get a ticket with the number 12 on it. When you come back, you hand over ticket 12 and get coat 12. Now imagine you scribble "13" on your ticket instead. If the attendant hands you coat 13 without checking that it is really yours, that is an IDOR: the ticket (the "reference") points directly at an object (the coat), and nobody checks whether you are allowed to have it.
In web terms, the "ticket" is a value in a request, such as a number or a username, and the "coat" is a record in the website's database. If the server takes the value at face value and acts on it, you can reach records that were never meant for you.
The researcher rated the severity as Low and the weakness as Insecure Direct Object Reference.
The feature, and who can use it
According to HackerOne's own support documentation, which the researcher quotes:
With Hacker Reviews, HackerOne customers have the option to send comments on hacker behaviour to HackerOne and the hacker after closing a report.
So the flow is: a program's security team closes a report, then submits a review of the hacker's behaviour.
Two conditions had to be true for the bug to be exploitable, and the report states both:
- The attacker must be a team member who can review a hacker (a hacker program participant).
- The victim must be a participant of the program, meaning they have submitted a report, whatever the status of that report. Even a report the security team has not yet touched makes the submitter a participant.
To get an account that could review a hacker, the researcher asked his friend @phspade, a member of the triage team on the Parrot Security bug bounty program on HackerOne, for permission to use one of the program's test accounts. A "triage team" is the group of people who first look at incoming reports for a program: they sort them, ask for more information and decide what happens next.
The researcher's own HackerOne account is japzdivino. The victim account used in the proof of concept is jong_jong, the HackerOne username of his girlfriend.
How he found it
While browsing disclosed reports in HackerOne's hacktivity (the public feed of reports that researchers have agreed to make visible), the researcher often visits the profiles of researchers who have recently disclosed a report, looking for ideas. He noticed that some researchers had a "What Program Say" section on their profile and assumed it was a new feature. Curious about how a review gets posted to a hacker's profile, he read the support article quoted above and realised the feature is meant for customers' security teams.
With access to a test account that could submit reviews, he set out to inspect the request that creates one. To "inspect a request" means to look at the exact message your browser sends to the website when you click a button. Browsers have built-in developer tools for this, and there are also separate programs that sit between the browser and the website and let you pause, read and edit each message before it is sent. That is how you see the hidden fields a form submits, and how you change them.
Step 1: Create a report and submit a review
Using his own account japzdivino, the researcher submitted a test report to the Parrot Sec program. He then closed the test report and performed a Hacker Review on it, capturing the request in the process. The captured POST request was:
This is an HTTP request: the message a browser sends to a web server to ask it to do something. Let us go through it piece by piece.
POST /hacker_reviews HTTP/1.1is the first line.POSTis the method, meaning "I am sending data for you to store or act on"./hacker_reviewsis the path, the address on the server being called.HTTP/1.1is the version of the protocol being spoken.Host: hackerone.comsays which website the request is for. One server can host many sites, so the server needs to know which one you mean.User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0tells the server which browser and operating system sent the request. Here it is Firefox 54 on 64-bit Linux.Accept: application/json, text/javascript, */*; q=0.01says which kinds of response the browser is willing to accept, and roughly in what order of preference.Accept-Language: en-US,en;q=0.5says the browser prefers US English.X-CSRF-Token: <redacted>is an anti-CSRF token. CSRF stands for Cross-Site Request Forgery: a trick where a malicious website makes your browser send a request to another site where you are logged in. To stop it, the site puts a secret, unpredictable value in each form and checks it on arrival. A page on another site cannot know that value, so its forged request is rejected. The value is redacted here because it is a secret tied to the session.X-Requested-With: XMLHttpRequestis a header that JavaScript code adds to mark the request as one made by script rather than by clicking a link. Servers often use it to decide whether to return a full page or just data.Referer: https://hackerone.com/bugs?subject=parrot_sec&report_id=<redacted>&view=all&substates%5B%5D=new&substates%5B%5D=triaged&substates%5B%5D=needs-more-info&substates%5B%5D=resolved&substates%5B%5D=informative&substates%5B%5D=not-applicable&substates%5B%5D=duplicate&substates%5B%5D=spam&reported_to_team=&text_query=&program_states%5B%5D=2&program_states%5B%5D=3&program_states%5B%5D=4&program_states%5B%5D=5&sort_type=latest_activity&sort_direction=descending&limit=25&page=1tells the server which page the request came from. The long query string is just the filters of the report list page: which report states to show, how to sort, how many per page.%5B%5Dis the encoded form of[], sosubstates[]=newmeans "include reports in the new state".Cookie: <redacted>is the session cookie. When you log in, the server gives your browser a long random string, and the browser sends it back with every request so the server knows who you are. It is redacted because anyone holding it could act as that user.DNT: 1is the Do Not Track preference.Connection: closeasks the server to close the network connection after this response.Content-Type: application/x-www-form-urlencodedsays the body is formatted like a URL query string:name=valuepairs joined by&.Content-Length: 116says the body is 116 bytes long.- The body itself is
hacker_username=japzdivino&report_id=<redacted>&positive=true&behavior=friendly&private_feedback=Thanks+for+your+report.&public_feedback=Japz is awesome!.Herehacker_usernameidentifies the hacker being reviewed,report_idties the review to a closed report,positiveandbehaviordescribe the rating, andprivate_feedbackandpublic_feedbackhold the two feedback texts. The+signs are how spaces are encoded in this format.
Why capture this request at all? Because the visible page only shows a form with a comment box. The interesting part, the fields that tell the server who and which report, is hidden in the request. You cannot test what you cannot see.
Step 2: Try manipulating report_id
The first parameter that caught his attention was report_id. He changed it to the IDs of some private reports, hoping to receive an email containing the title of a private report. Nothing happened: the attempt to turn the parameter into an IDOR that reveals private report titles failed.
Why try this? Because report_id is a number that points directly at a report, exactly the kind of "cloakroom ticket" that often lacks an ownership check. If the server had looked up whatever report the number named and put its title in the email, a reviewer could read titles of private reports from other programs. It did not, so that door was closed.
Step 3: Manipulate hacker_username
The second interesting parameter was hacker_username, which held his own username because the test report was his. Out of curiosity he replaced the value, changing hacker_username=japzdivino to hacker_username=jong_jong, and forwarded the request.
"Forwarding" means letting the edited request continue on to the server, as if the browser had sent it unchanged. The only difference between his request and a legitimate one was that one word in the body.
Step 4: Confirm the effect
Five minutes passed without any email notification about the review reaching him. He took that as confirmation of his assumption: the email had gone to jong_jong's email address instead. He logged in to his girlfriend's email account and confirmed the email had been sent there.
This is an important habit in security testing: when the website itself shows you nothing, look at the side effects. An email arriving in the wrong inbox is proof that the server acted on the value you supplied.
To check that the impact extends beyond email, he then visited jong_jong's profile and confirmed that the public review had been posted there as well.

The image sits at the top of the published post, under the title and byline.
Why it worked
The review creation endpoint accepted the identity of the reviewed hacker from a client-supplied form field, hacker_username, and acted on it. The server acted on the client-supplied hacker_username, so a reviewer could direct a review at another user. Because the value was trusted as given, a reviewer could direct a review, both its email notification and its public profile entry, at any user. The report does not describe the server-side code, so the exact check that was missing is likely the participation check described in the preconditions.
Put simply: the server asked "who should this review go to?" and believed whatever the browser answered, instead of checking the answer against its own records.
What an attacker could do with it
An attacker who is a team member able to review a hacker can send a review, including its email notification and its public posting, to any HackerOne user who is a participant of the program, meaning anyone who has submitted a report to it, whatever that report's status. In the proof of concept this produced an email to the victim's address and a public review on the victim's profile. The researcher rates the severity as Low.
The fix
The report does not describe the fix that was applied.
Other places to look for the same pattern
- Other identity fields in review or feedback endpoints. Look for parameters naming a user, such as a username or user ID, in requests that trigger notifications or public content. A positive result is an email or profile entry appearing on an account you did not legitimately target.
- Report-bound actions. The
report_idattempt here failed, but the same pattern applies to endpoints that close, rate or comment on reports. A positive result is an action succeeding against a report that does not belong to your program. - Program scoping. Test whether a reviewer from one program can review a hacker who only participates in a different program. A positive result is a review being accepted for a user with no relationship to the reviewer's program.
- Notification side channels. Where a direct response reveals nothing, watch for email delivery, profile changes or activity feeds as confirmation, as this report did.
Glossary
- API: a way for one piece of software to talk to another, here the set of addresses and rules a website uses to receive and return data.
- Authentication: proving who you are, usually by logging in.
- Authorisation: deciding what a logged-in user is allowed to do.
- Bug bounty program: a scheme where a company pays people for reporting security bugs in its software.
- Cookie: a small piece of data a website stores in your browser and receives back on each request, commonly used to keep you logged in.
- CSRF (Cross-Site Request Forgery): an attack where a malicious site makes your browser send a request to another site where you are logged in.
- CSRF token: a secret, unpredictable value placed in forms and checked by the server to block CSRF.
- Endpoint: a specific address on a server that accepts requests, such as
/hacker_reviews. - Form-encoded: a body format of
name=valuepairs joined by&, with spaces written as+. - Hacker: here, a security researcher who reports bugs through a bug bounty program.
- Hacktivity: HackerOne's public feed of disclosed reports.
- Header: a line in an HTTP request or response carrying metadata, such as the browser type or a cookie.
- HTTP: the protocol browsers and web servers use to exchange requests and responses.
- IDOR (Insecure Direct Object Reference): a bug where a request names a record directly and the server does not check that you are allowed to access it.
- POST: an HTTP method used to send data to the server for it to act on or store.
- Precondition: something that must be true before an attack can work.
- Private report: a report visible only to the reporter and the program's team, not to the public.
- Proof of concept (PoC): a demonstration that a bug can really be exploited.
- Redacted: removed or hidden, usually because the value is secret or personal.
- Request: the message a browser sends to a server.
- Response: the message a server sends back.
- Session: the period during which a website remembers you as logged in, identified by a cookie.
- Severity: a rating of how serious a bug is.
- Triage team: the people who first review incoming reports for a program and decide what happens to them.
- User-Agent: a header saying which browser and operating system sent the request.
- Vulnerability: a weakness in software that an attacker can use to do something unintended.