Partial disclosure of report activity through new "Export as .zip" feature
A new export feature allowed users to view comments on partially disclosed reports that should have remained hidden. An attacker could access these comments by exporting a partially disclosed report as a zip file.
Originally disclosed on HackerOne
- Triaged in under an hour
- Fixed in 29 hours
- Paid in 13 days
- Disclosed after 13 days
Summary by the program
This problem was introduced on Monday, November 14th and resolved the following day on Tuesday, November 15th, within one hour of the report being filed. This was an impressive find, and we want to give a huge shout-out to @faisalahmed for bringing this to our attention within 24 hours of releasing the new feature that contained this vulnerability!
When a program has publicly disclosed a report on HackerOne, the platform supports the ability to perform a limited disclosure. A normal disclosure includes vulnerability information, attachments, and the full timeline of activity. But a limited disclosure restricts visibility to a summary of the vulnerability and the timeline of activity (comments or actions).
In this particular case, the vulnerability allowed viewing the comments that would normally not be visible in a limited disclosure. Only comments were affected: the report's vulnerability information, attachments, and internal comments were not visible.
HackerOne performed a thorough investigation of all uses of the export functionality and have found no evidence of malicious exploitation of this vulnerability. As part of our standard process, we have notified the programs affected by @faisalahmed and his colleague during the demonstration of the proof of concept to HackerOne.
The report
Hello Team, I noticed a new feature has been launched, which allows to export report. Great feature. But unfortunately it discloses comments of partially disclosed reports which supposed to be hidden..
###POC:
- Go to this partially disclosed report > https://hackerone.com/reports/██████████
- Click Export Button.
- You'll see comments are getting disclosed!
This way you can see all the partially disclosed reports comments.
Please let me know if you need more information!
Looking forward!
Context
HackerOne is a bug bounty platform where programs receive reports from researchers. When a program decides to make a report public, the platform supports two levels of visibility. A normal disclosure shows the vulnerability information, the attachments and the full timeline of activity. A limited disclosure restricts visibility to a summary of the vulnerability and the timeline of activity, meaning comments and actions. The point of a limited disclosure is that the sensitive parts of the report, and the discussion around it, stay hidden from the public.
On Monday, 14 November 2016, HackerOne released a new feature that lets a user export a report as a .zip file. The feature was intended to package a report for download. What it actually did, in the case of a partially disclosed report, was include the comments that a limited disclosure is supposed to hide.
Setup
The report does not describe any special accounts, roles, tools or versions. The researcher was a normal user of the platform, and the only precondition was the existence of a publicly disclosed report that had been limited-disclosed, plus access to the new export button on that report. No authentication trickery, no special headers and no tooling are mentioned.
Finding it
The researcher noticed that a new feature had been launched which allows a report to be exported, and considered it a good feature. The problem was that exporting a partially disclosed report disclosed the comments of that report, which were supposed to be hidden. In the researcher's words, this way you can see all the partially disclosed reports' comments.
The reasoning is straightforward once you know how limited disclosure works. If the public view of a report hides comments, then any other path that returns the same report content must apply the same visibility rules. The export path did not, so it became a second, unintended view of the report.
Exploitation
Step 1: pick a partially disclosed report
The researcher started from a report that had been publicly disclosed with a limited disclosure. The report identifier is redacted in the public write-up:
https://hackerone.com/reports/██████████
This is the report whose comments are supposed to be invisible to anyone viewing it publicly.
Step 2: click Export
On that report page, the researcher clicked the Export button, the entry point to the new .zip export feature.
Step 3: read the comments in the export
The export returned the report's comments. The comments that the limited disclosure hides on the report page were present in the exported content, so the researcher could read them.
The same behaviour applied to any partially disclosed report, not just the one used for the proof of concept: the researcher states that this way you can see all the partially disclosed reports' comments.
Root cause
The export functionality did not apply the same visibility rules as the report page. A limited disclosure restricts what a public viewer can see to the vulnerability summary and the timeline of activity, but the export path produced the comments anyway. In other words, the authorisation check that hides comments for limited-disclosed reports was enforced on the normal report view and not on the new export code path. The report does not include the code, so the exact location of the mistake is not stated; the behaviour is consistent with the export query or serialiser fetching comments without consulting the disclosure level of the report.
The existing defence, the limited disclosure logic, was not bypassed in any clever way. It was simply not consulted by the new feature, which is why the bug appeared the day the feature shipped.
Impact
A visitor could export a partially disclosed report and read comments that the limited disclosure was meant to keep hidden. The scope was bounded: only comments were affected. The report's vulnerability information, its attachments and its internal comments were not visible through this issue.
HackerOne investigated all uses of the export functionality and found no evidence of malicious exploitation of the vulnerability. As part of its standard process, it notified the programs affected by the researcher and his colleague during the demonstration of the proof of concept.
The issue was rated high severity with a CVSS score of 7.5, and a bounty of 10,000 USD was paid.
Fix
The problem was introduced on Monday, 14 November and resolved the following day, Tuesday, 15 November, within one hour of the report being filed. The report does not describe the code change itself; The report does not describe the code change itself; it states only that the problem was resolved the following day.
Variants to test
Any feature that produces an alternative representation of an object with restricted visibility is worth testing against the same object's normal view. Concrete things to try:
- Export and download endpoints (
.zip,.pdf,.csv,.json) on reports, tickets or cases that are partially disclosed or otherwise restricted. A positive result is content in the export that the normal page hides. - API endpoints that return the same object as the UI, called with the same identifier. A positive result is comments, attachments or metadata present in the API response but absent from the public page.
- Print, email, share and notification features that render the object server-side. A positive result is a rendered copy containing hidden fields.
- Cached or archived copies of the object produced by the platform itself. A positive result is a stored artefact whose visibility does not match the object's current disclosure level.
- Changing the disclosure level of an object after an export or share link has been created. A positive result is the old artefact still exposing content that is now restricted.
Hunting notes
This class of bug tends to hide in newly shipped features that read an existing object through a new code path: exports, downloads, API wrappers, integrations and notification renderers. The signal during recon is a feature announcement or a new button on an object type that already has visibility rules, especially where the object supports partial or limited disclosure. The check is to compare what the normal view shows with what the new path returns, using an object whose restricted content you can verify independently.
In this case the researcher demonstrated impact by pointing at a single partially disclosed report and showing that its comments appeared in the export, then noting that the same applied to all such reports. The program confirmed the scope precisely: comments only, with vulnerability information, attachments and internal comments unaffected, and no evidence of prior exploitation. That precision is what made the report easy to triage and fix within a day.
What happened, in plain words
HackerOne is a website where security researchers report bugs they find in companies' software, and companies pay them for it. Each bug is written up as a "report" on the platform. When a company decides a report can be made public, HackerOne offers two levels of visibility. A normal disclosure shows everything: the vulnerability details, any attached files, and the full timeline of activity. A limited disclosure shows only a summary of the vulnerability and the timeline of activity, which means the comments and actions. The whole point of a limited disclosure is that the sensitive parts of the report, and the discussion around it, stay hidden from the public.
On Monday, 14 November 2016, HackerOne released a new feature that lets a user export a report as a .zip file. A .zip file is a single file that bundles other files together, like a folder you can download in one piece. The feature was meant to package a report for download. What it actually did, in the case of a partially disclosed report, was include the comments that a limited disclosure is supposed to hide.
The researcher, faisalahmed, noticed the new feature, tried it on a partially disclosed report, and saw the hidden comments appear in the export. He reported it, and the problem was fixed the next day, within one hour of the report being filed. The issue was rated high severity with a CVSS score of 7.5, and a bounty of 10,000 USD was paid.
Context
To follow this, you need a few ideas from the ground up.
A bug bounty platform is a website that sits between companies (called "programs") and independent testers (called "researchers"). Programs publish what they own and what they will pay for; researchers look for mistakes and send in reports.
A report on HackerOne is a page with a title, a description of the bug, sometimes attached files (screenshots, logs), and a timeline of comments and actions as the program and the researcher discuss it.
Disclosure is the act of making a report public. HackerOne supports two levels:
- A normal disclosure shows the vulnerability information, the attachments and the full timeline of activity.
- A limited disclosure restricts visibility to a summary of the vulnerability and the timeline of activity, meaning comments and actions.
The point of a limited disclosure is that the sensitive parts of the report, and the discussion around it, stay hidden from the public. Think of it like a shop window: the shop can put a short sign in the window (the summary) and a list of opening hours (the timeline), while the stockroom and the staff conversations stay behind the door.
An export is a feature that takes the content of a page and packages it into a file you can download. Here the file is a .zip. The idea is convenience: instead of copying text out of a web page by hand, you get one file with everything in it.
The vulnerability class here is information disclosure: a system reveals data to someone who should not be allowed to see it. Nothing is broken or deleted; the harm is that a secret leaks.
Setup
The report does not describe any special accounts, roles, tools or versions. The researcher was a normal user of the platform. The only precondition was the existence of a publicly disclosed report that had been limited-disclosed, plus access to the new export button on that report. No authentication trickery, no special headers and no tooling are mentioned.
In plain terms: you needed a browser and a report that was public but only partially.
Finding it
The researcher noticed that a new feature had been launched which allows a report to be exported, and considered it a good feature. The problem was that exporting a partially disclosed report disclosed the comments of that report, which were supposed to be hidden. In the researcher's words, this way you can see all the partially disclosed reports' comments.
The reasoning is straightforward once you know how limited disclosure works. If the public view of a report hides comments, then any other path that returns the same report content must apply the same visibility rules. The export path did not, so it became a second, unintended view of the report.
An everyday comparison: imagine a library that lets you read a book's cover and table of contents online, but not the pages. If the library also offers a "download the whole book" button, that button must respect the same rule. If it does not, the rule was never really enforced; it was only enforced on one of the two doors.
Exploitation
Step 1: pick a partially disclosed report
The researcher started from a report that had been publicly disclosed with a limited disclosure. The report identifier is redacted in the public write-up:
https://hackerone.com/reports/██████████
Line by line: https:// is the protocol, the way the browser agrees with the server how to talk. hackerone.com is the site. /reports/ is the path that leads to a single report page. ██████████ is the report's identifier, a number that the platform uses to tell one report from another. It is blacked out here so the public write-up does not point at a specific report.
This is the report whose comments are supposed to be invisible to anyone viewing it publicly. Choosing a report you can verify independently matters: you need to know, before you test, that the comments really are hidden on the normal page. Otherwise you cannot tell whether the export leaked anything.
Step 2: click Export
On that report page, the researcher clicked the Export button, the entry point to the new .zip export feature.
Why this step: the button is the new code path. The normal page is the known-good view; the button is the untested one. The test is to compare the two.
Step 3: read the comments in the export
The export returned the report's comments. The comments that the limited disclosure hides on the report page were present in the exported content, so the researcher could read them.
The same behaviour applied to any partially disclosed report, not just the one used for the proof of concept: the researcher states that this way you can see all the partially disclosed reports' comments.
That last point is what turns a single observation into a general bug. It is not one report with a strange setting; it is the rule itself being applied in one place and not in another.
Root cause
The export functionality did not apply the same visibility rules as the report page. A limited disclosure restricts what a public viewer can see to the vulnerability summary and the timeline of activity, but the export path produced the comments anyway. In other words, the authorisation check that hides comments for limited-disclosed reports was enforced on the normal report view and not on the new export code path.
Authorisation is the part of a system that decides who may see or do what. Authentication is proving who you are; authorisation is what you are then allowed to do. Here the check existed and worked on the page, but the new feature never asked it.
The report does not include the code, so the exact location of the mistake is not stated; the behaviour is consistent with the export query or serialiser fetching comments without consulting the disclosure level of the report. A query is the request a program sends to its database to fetch data; a serialiser is the piece of code that turns that data into the file format being produced. Either way, the export gathered comments without first asking "is this report limited-disclosed?".
The existing defence, the limited disclosure logic, was not bypassed in any clever way. It was simply not consulted by the new feature, which is why the bug appeared the day the feature shipped. This is a common pattern: a rule is written once, and a new feature is built beside it without reusing it.
Impact
A visitor could export a partially disclosed report and read comments that the limited disclosure was meant to keep hidden.
The scope was bounded: only comments were affected. The report's vulnerability information, its attachments and its internal comments were not visible through this issue. Internal comments are comments visible only to the program's own team, not to the researcher or the public; they stayed hidden.
HackerOne investigated all uses of the export functionality and found no evidence of malicious exploitation of the vulnerability. As part of its standard process, it notified the programs affected by the researcher and his colleague during the demonstration of the proof of concept.
CVSS is a standard scoring system for the seriousness of a vulnerability; 7.5 sits in the high range.
Fix
The problem was introduced on Monday, 14 November and resolved the following day, Tuesday, 15 November, within one hour of the report being filed. The report does not describe the code change itself; The report does not describe the code change itself; it states only that the problem was resolved the following day.
Variants to test
Any feature that produces an alternative representation of an object with restricted visibility is worth testing against the same object's normal view. An object here means a thing the platform stores, such as a report, a ticket or a case. An alternative representation is another way of getting the same content out: a file, a printout, an API response.
Concrete things to try:
- Export and download endpoints (
.zip,.pdf,.csv,.json) on reports, tickets or cases that are partially disclosed or otherwise restricted. A positive result is content in the export that the normal page hides. - API endpoints that return the same object as the UI, called with the same identifier. A positive result is comments, attachments or metadata present in the API response but absent from the public page. An API is a way for software to ask a website for data directly, without the web page in between; an endpoint is one specific address in that API.
- Print, email, share and notification features that render the object server-side. A positive result is a rendered copy containing hidden fields. Server-side means the work is done on the website's own computers before anything is sent to you.
- Cached or archived copies of the object produced by the platform itself. A positive result is a stored artefact whose visibility does not match the object's current disclosure level. A cache is a saved copy kept to serve faster later.
- Changing the disclosure level of an object after an export or share link has been created. A positive result is the old artefact still exposing content that is now restricted.
Hunting notes
This class of bug tends to hide in newly shipped features that read an existing object through a new code path: exports, downloads, API wrappers, integrations and notification renderers. The signal during recon is a feature announcement or a new button on an object type that already has visibility rules, especially where the object supports partial or limited disclosure. Recon is the early phase of looking around a target to see what exists and what changed.
The check is to compare what the normal view shows with what the new path returns, using an object whose restricted content you can verify independently. In this case the researcher demonstrated impact by pointing at a single partially disclosed report and showing that its comments appeared in the export, then noting that the same applied to all such reports. The program confirmed the scope precisely: comments only, with vulnerability information, attachments and internal comments unaffected, and no evidence of prior exploitation. That precision is what made the report easy to triage and fix within a day. Triage is the first pass a program makes on a report to decide whether it is real, how serious it is, and who should fix it.
Glossary
- API: a way for software to ask a website for data directly, without a web page in between.
- Authentication: proving who you are to a system.
- Authorisation: the part of a system that decides what you are allowed to see or do once you are known.
- Bug bounty platform: a website that connects companies with independent testers who report bugs for payment.
- Bounty: the money a program pays for a valid report.
- Cache: a saved copy of content kept so it can be served faster later.
- CVSS: a standard scoring system for the seriousness of a vulnerability.
- Disclosure: making a report public; on HackerOne it can be normal (everything) or limited (summary and timeline only).
- Endpoint: one specific address in an API or website that returns or accepts something.
- Export: a feature that packages a page's content into a downloadable file.
- Information disclosure: a vulnerability where a system reveals data to someone who should not be allowed to see it.
- Internal comment: a comment visible only to the program's team, not to the researcher or the public.
- Limited disclosure: a public disclosure that shows only a summary of the vulnerability and the timeline of activity, hiding comments and sensitive details.
- Object: a thing the platform stores, such as a report, ticket or case.
- Program: the company or organisation that runs a bug bounty and receives reports.
- Query: the request a program sends to its database to fetch data.
- Recon: the early phase of looking around a target to see what exists and what has changed.
- Report: the write-up of a bug submitted on a bug bounty platform, with description, attachments and a timeline.
- Researcher: the independent tester who looks for bugs and submits reports.
- Serialiser: the piece of code that turns fetched data into a particular file format.
- Server-side: work done on the website's own computers before anything is sent to the visitor.
- Triage: the first pass a program makes on a report to decide whether it is real, how serious it is, and who should fix it.
.zip: a single file that bundles other files together for download.