Information Disclosure in /skills call
A query used by the new skill sets feature was written incorrectly, so the proof submitted by one hacker (report titles of fixed reports) was shown to other hackers who applied for the same skill set. An attacker could therefore see the titles of other people's resolved vulnerability reports.
Originally disclosed on HackerOne
- Triaged in 2 hours
- Fixed in 4 hours
- Paid in 26 days
- Disclosed after 30 days
Summary by the program
This issue was identified by @deepankerchawla on December 6th and resolved a few hours later. We would like to thank @deepankerchawla for bringing this to our attention and for working with us as we resolved the issue.
The new skill sets feature was released in stages to a limited set of hackers on the HackerOne platform. The issue was identified when about 20 users on HackerOne had access to the new feature, as the feature was on a paced roll out path. The skill set feature is used to send tailored invitations for private programs. Hackers have to submit reports as proof for their skills. Due to an incorrectly written query, the proof, which includes report titles, was exposed to all other hackers that applied for the same skill set. Noteworthy is that only report titles of fixed vulnerability reports could have been exposed and only the reports that were sent in as proof.
Our policy describes that HackerOne awards $10,000 for any vulnerability that might grant unauthorized access to confidential bug descriptions. Although HackerOne doesn’t believe this meets that exact description, HackerOne cannot guarantee what kind of information hackers provide in report titles. Because of that, we decided to still award a $10,000 bounty. However, anything other than the report title of resolved bugs were not exposed through this vulnerability.
The report
Link: https://hackerone.com/settings/skills
IN respone of above request all reports submitted for review are getting disclosed.
Context
HackerOne's platform includes a skill sets feature, used to send tailored invitations for private programs. Hackers submit reports as proof of their skills, and those proofs are attached to a skill set. The feature was released in stages to a limited set of hackers on a paced roll out path, and at the time of the finding about 20 users on HackerOne had access to it.
The affected page is the skill settings page:
https://hackerone.com/settings/skills
The report is titled "Information Disclosure in /skills call" and was rated medium severity with a CVSS score of 6.5, under the Information Disclosure weakness. It was disclosed on 2017-01-05 and paid a bounty of 10,000 USD.
Setup
The skill sets feature was being rolled out gradually. The issue was identified when about 20 users on HackerOne had access to the new feature. No other accounts, roles, tools or versions are described in the report.
Finding it
The researcher's observation is short and direct. In response to the request to the skills settings page, all reports submitted for review were getting disclosed. In other words, the proof material that other hackers had attached to the same skill set, which includes report titles, was visible to every hacker who applied for that skill set, rather than only to the applicant and the platform.
Exploitation
Step 1: Request the skills settings page
The report gives the skills settings page link:
https://hackerone.com/settings/skills
Step 2: Observe the response
In the response to that request, all reports submitted for review were disclosed. The exposed data is the proof submitted for a skill set, which includes report titles. The program's summary states that only report titles of fixed vulnerability reports could have been exposed, and only the reports that were sent in as proof.
Root cause
The program attributes the exposure to an incorrectly written query. The proof attached to a skill set, including report titles, was returned to all other hackers that applied for the same skill set, instead of being scoped to the applicant who submitted it. The report does not show the query itself, so the exact mistake is not visible; the effect is that the lookup was not restricted to the requesting user's own submission.
Impact
The exposure was limited in two ways, both stated by the program: only report titles of fixed vulnerability reports could have been exposed, and only the reports that were sent in as proof for the skill set. Anything other than the report title of resolved bugs was not exposed through this vulnerability.
The affected population was small at the time, because the feature was on a paced roll out and about 20 users had access. The program notes that it cannot guarantee what kind of information hackers provide in report titles, which is why it still paid the bounty even though it does not believe the issue meets the exact description in its policy of a vulnerability that might grant unauthorised access to confidential bug descriptions.
Fix
The program states that the issue was identified on December 6th and resolved a few hours later. The report does not describe the change that was made.
Variants to test
- On any feature where a user attaches proof or references to their own records, request the listing endpoint and check whether records belonging to other applicants appear. A positive result is another user's titles or identifiers in the response.
- Compare the response for an account with no submissions against one with submissions, and against a second account in the same group. A positive result is identical cross-user data in the listing.
- Check whether filtering parameters on the listing (for example a skill set identifier) change whose records are returned. A positive result is records from a different applicant when the identifier is changed.
Hunting notes
This kind of bug tends to hide in newer features that are being rolled out gradually, where a listing or detail view aggregates submissions from several users. During recon, features gated to a subset of accounts are worth attention because they receive less scrutiny than long-standing pages. The report states that in response to the request, all reports submitted for review were getting disclosed; the program then scoped the impact itself and paid the bounty on that basis.
Timeline
| Date | Event |
|---|---|
| December 6th | Issue identified by @deepankerchawla |
| A few hours later | Issue resolved |
| 2017-01-05 | Report disclosed |
What happened, in plain words
HackerOne runs a website where security researchers (people who look for bugs in software) report problems to companies. One of its features is called skill sets. A skill set is a way for a researcher to show what they are good at: they attach real bug reports they have written as proof of their skills. Companies then use these skill sets to send invitations to private bug bounty programs, which are programmes that are not open to everyone.
When a researcher opened their skills settings page, the response disclosed the proof reports that other researchers had submitted for the same skill set. The proof includes the titles of the reports. So one researcher could see the titles of other researchers' reports, even though those reports were meant to be private.
The problem was caused by an incorrectly written query. A query is the instruction a website sends to its database (the place where it stores information) to ask for data. Because the query was not written to limit the results to the person asking, it returned everyone's proof instead of just the requester's own.
The company fixed it within a few hours and paid a bounty of 10,000 USD. A bounty is a reward paid to a researcher for finding and reporting a security problem.
Context
HackerOne's platform includes a skill sets feature. It is used to send tailored invitations for private programs. Hackers submit reports as proof of their skills, and those proofs are attached to a skill set. The feature was released in stages to a limited set of hackers on a paced roll out path, and at the time of the finding about 20 users on HackerOne had access to it.
A paced roll out means the company turns a new feature on for a small group of users first, then slowly adds more people. This is common because it lets the company watch for problems before everyone sees the feature.
The affected page is the skill settings page:
https://hackerone.com/settings/skills
This is a web address (a URL). When you type it into a browser and press Enter, your browser sends a request to HackerOne's server asking for that page. The server then sends back a response, which is the page content your browser displays.
The report is titled "Information Disclosure in /skills call" and was rated medium severity with a CVSS score of 6.5, under the Information Disclosure weakness. It was disclosed on 2017-01-05 and paid a bounty of 10,000 USD.
A few terms here are worth unpacking. Information Disclosure is a category of security bug where information that should stay private becomes visible to someone who should not see it. Severity is a label for how serious a bug is. CVSS is a standard scoring system that gives a bug a number, usually from 0 to 10, so different bugs can be compared; 6.5 is in the medium range. Disclosed means the report was made public on that date.
Setup
The skill sets feature was being rolled out gradually. The issue was identified when about 20 users on HackerOne had access to the new feature. No other accounts, roles, tools or versions are described in the report.
That is often how bugs in new features are found: someone who happens to have early access tries the feature and notices something odd.
Finding it
The researcher's observation is short and direct. In response to the request to the skills settings page, all reports submitted for review were getting disclosed. In other words, the proof material that other hackers had attached to the same skill set, which includes report titles, was visible to every hacker who applied for that skill set, rather than only to the applicant and the platform.
Think of it like a shared noticeboard in an office. You pin your own CV to it, expecting only the manager to read it. Instead, everyone who applied for the same job can read every CV on the board. The information is not secret in the sense of passwords, but it was never meant to be shared with the other applicants.
Exploitation
Step 1: Request the skills settings page
The researcher requested the skills settings page:
https://hackerone.com/settings/skills
This is the same address as above. Logging in means the server knows who you are, usually because your browser sends a small piece of data called a session cookie with every request. A cookie is a short piece of text a website stores in your browser so it can recognise you on your next request. You do not see it, but it travels with each request you make to that site.
Step 2: Observe the response
In the response to that request, all reports submitted for review were disclosed. The exposed data is the proof submitted for a skill set, which includes report titles. The program's summary states that only report titles of fixed vulnerability reports could have been exposed, and only the reports that were sent in as proof.
A response is what the server sends back. In a browser you see it as a page. The page contained the titles of reports that other researchers had attached as proof. A fixed vulnerability report is a report about a bug that has already been repaired, so the bug itself is no longer a live risk. The title, however, can still describe something the researcher or the company would rather keep private.
Root cause
The program attributes the exposure to an incorrectly written query. The proof attached to a skill set, including report titles, was returned to all other hackers that applied for the same skill set, instead of being scoped to the applicant who submitted it. The report does not show the query itself, so the exact mistake is not visible; the effect is that the lookup was not restricted to the requesting user's own submission.
To understand this, imagine a librarian who is asked for "the books on this shelf". If the librarian hands over every book on the shelf instead of just the ones you donated, that is a scoping mistake. The request was fine; the instruction used to fetch the data was too broad. In database terms, a query usually includes a condition such as "only rows where the owner is me". If that condition is missing or wrong, the database returns rows belonging to other people.
Impact
The exposure was limited in two ways, both stated by the program: only report titles of fixed vulnerability reports could have been exposed, and only the reports that were sent in as proof for the skill set. Anything other than the report title of resolved bugs was not exposed through this vulnerability.
The affected population was small at the time, because the feature was on a paced roll out and about 20 users had access. The program notes that it cannot guarantee what kind of information hackers provide in report titles, which is why it still paid the bounty even though it does not believe the issue meets the exact description in its policy of a vulnerability that might grant unauthorised access to confidential bug descriptions.
That last point is worth reading carefully. The company's published policy promises a large reward for bugs that expose confidential bug descriptions. This bug exposed only titles, not descriptions, so strictly it did not match. But titles are written by people, and people sometimes put sensitive details in a title. Because the company could not rule that out, it paid the full amount anyway.
Fix
The program states that the issue was identified on December 6th and resolved a few hours later. The report does not describe the change that was made.
A fix in a few hours is fast. It suggests the change was small, for example correcting the query so it only returns the requesting user's own records.
Variants to test
These are ideas for similar bugs you could look for on other sites. Each one describes what to try and what a positive result looks like.
- On any feature where a user attaches proof or references to their own records, request the listing endpoint and check whether records belonging to other applicants appear. A positive result is another user's titles or identifiers in the response. An endpoint is simply a specific address on a server that returns data, often in a machine-readable format rather than a web page.
- Compare the response for an account with no submissions against one with submissions, and against a second account in the same group. A positive result is identical cross-user data in the listing. Comparing accounts is a simple way to spot data that should not be there: if two different people see the same private records, something is wrong.
- Check whether filtering parameters on the listing (for example a skill set identifier) change whose records are returned. A positive result is records from a different applicant when the identifier is changed. A parameter is a part of a request that tells the server what you want, such as which skill set to show.
Hunting notes
This kind of bug tends to hide in newer features that are being rolled out gradually, where a listing or detail view aggregates submissions from several users. During recon, features gated to a subset of accounts are worth attention because they receive less scrutiny than long-standing pages. The report states that in response to the request, all reports submitted for review were getting disclosed; the program then scoped the impact itself and paid the bounty on that basis.
Recon, short for reconnaissance, is the early stage of security testing where you look around a site to see what it does and which parts are interesting. A feature gated to a subset of accounts is one that only some users can reach. Such features are often less tested than old ones, which makes them good places to look.
Timeline
| Date | Event |
|---|---|
| December 6th | Issue identified by @deepankerchawla |
| A few hours later | Issue resolved |
| 2017-01-05 | Report disclosed |
Glossary
- API: a way for one piece of software to ask another for data or actions, usually over the web, without a human clicking through pages.
- Bounty: a reward paid to a researcher for finding and reporting a security problem.
- Cookie: a short piece of text a website stores in your browser so it can recognise you on later requests.
- CVSS: a standard scoring system that gives a security bug a number, usually from 0 to 10, so bugs can be compared.
- Disclosed: made public, in this case the publication of the bug report.
- Endpoint: a specific address on a server that returns data or performs an action.
- Fixed vulnerability report: a bug report about a problem that has already been repaired.
- Information Disclosure: a bug where information that should stay private becomes visible to someone who should not see it.
- Parameter: a part of a request that tells the server what you want, such as which item to show.
- Paced roll out: turning a new feature on for a small group first, then gradually for more people.
- Private program: a bug bounty programme that only invited researchers can take part in.
- Query: an instruction sent to a database asking for specific data.
- Recon: reconnaissance, the early stage of looking around a site to understand what it does.
- Request: a message your browser sends to a server asking for a page or data.
- Response: what the server sends back after a request.
- Severity: a label for how serious a bug is.
- Skill set: a HackerOne feature where researchers attach reports as proof of their skills, used for invitations to private programs.
- URL: a web address, such as the one typed into a browser to open a page.