Skip to content
Info disclosure Write-up Beginner

HackerOne redacted usernames disclosure in “Export as .pdf” feature

The 'Export as .pdf' feature on HackerOne, which offered to redact all usernames, still included the redacted usernames in the generated PDF. An attacker could export a report and extract the usernames of participants, including analysts, that were meant to be hidden.

Japz Divino Follow

Published on medium.com

Bounty$500 View original

{{media:0}}

Japz Divino, on medium.com

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.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 4 min read.

Context

HackerOne is a bug bounty platform where reports are filed, triaged and discussed between researchers and program teams. Reports can be private or non-disclosed, and the platform offers an export feature that turns a report into a PDF so it can be shared outside the platform.

At the time of this finding, the export feature had gained a new option labelled "I want to redact all usernames". The intent was straightforward: a user could export a report and share the PDF while keeping the usernames of everyone involved in the report out of the file. The researcher stresses that this applies to private and non-disclosed reports as well, so the redaction is the only thing standing between the exported file and the identities of the participants.

The export is driven by a URL of this shape:

Text
https://hackerone.com/reports/<REPORT-ID>.pdf?redact_usernames=true&pdf_type=reporter

The redact_usernames=true parameter is the switch for the new option, and pdf_type=reporter selects the reporter view of the report.

Setup

The researcher used their own reports on HackerOne and the built-in export function, no special tooling is described. The precondition is simply an account that can export a report, plus the new redaction option being available in the export UI. The report does not describe any particular role or permission beyond that.

Finding it

While browsing the export report screen, the researcher noticed the new "I want to redact all usernames" option. Reading it as a promise that the exported PDF would not contain the usernames of the participants, they exported one of their own reports with the option enabled.

The resulting PDF looked messy. After filtering out the noisy strings from the output, the researcher found that the usernames were still present in the file even though the redaction option had been selected. The filtered output showed the reporter's username in clear text.

Japz Divino
Japz Divino From the original on medium.com

The proof of concept in the write-up shows only the reporter's username, but the researcher notes that all usernames in the report were disclosed, including those of analysts and other team members taking part in the report.

Exploitation

Step 1: Export with redaction enabled

The researcher exported one of their reports through the export feature with the redaction option selected, producing a request along the lines of the URL above with redact_usernames=true and pdf_type=reporter. The PDF that came back was visually messy, which is what prompted a closer look at its contents rather than its layout.

Step 2: Filter the PDF output

After stripping the messy strings from the extracted PDF content, the reporter's username was still readable. The same held for the other participants' usernames in the report, including analysts and team members, even though the option promised to redact all of them. The write-up's PoC shows the reporter's username only, for brevity; the researcher later supplied a video demonstrating the wider disclosure.

Step 3: Report and disclosure

The researcher submitted the finding to HackerOne. The team reverted the new feature and removed it entirely from the export function after the submission. The report was closed and rewarded, and the researcher requested public disclosure so the full context of the discussion would be available.

Root cause

The report does not describe the implementation, so the exact mistake is not stated. What the behaviour shows is that the redaction option did not actually remove the usernames from the generated PDF: the strings were still present in the exported file and could be recovered by filtering the output.

Impact

Anyone exporting a report with the redaction option enabled could hand a PDF to a third party believing the participants' identities were hidden, while the file still contained them. This affects private and non-disclosed reports in particular, where the usernames are not otherwise public. The researcher argued that once a feature exists to redact data, that data becomes confidential, and disclosing it is a sensitive information exposure. HackerOne's position, quoted in the write-up, was that the confidentiality impact should stay at low because one username from the original reporter leaked in a small, not commonly used feature and the value of the PII exposed was not high. The researcher disagreed on both points: the disclosure covered almost all usernames of the involved participants, not just one, and the feature was not commonly used only because it had just been deployed and was reverted after the vulnerability was reported. The final severity was Low (3.4) with a $500 bounty.

Fix

HackerOne reverted the feature and removed it completely from the export function.

Variants to test

  1. Export the same report with and without the redaction parameter and diff the extracted text. A positive result is any username present in the redacted export that should have been removed.
  2. Try other export formats with equivalent redaction options. A positive result is redacted data appearing in the archive.
  3. Check whether the redaction applies only to the visible page but not to embedded metadata, annotations or hidden text layers in the PDF. A positive result is a username recoverable from the file after the visible text has been filtered.
  4. Test redaction options on private or non-disclosed reports specifically, since that is where the disclosure matters most. A positive result is a participant's username appearing in a file that was meant to be shareable without it.
  5. Compare the reporter view (pdf_type=reporter) with other views of the same report. A positive result is a view that ignores the redaction parameter.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 9 min read.

What happened, in plain words

HackerOne is a website where security researchers report bugs to companies. Each bug is written up as a report, and reports can be private: only the people involved can see them. HackerOne added a button to the report export screen called "I want to redact all usernames". Redact means to hide or remove a piece of text, the way a government document has names blacked out before it is published. The idea was simple: you could download a report as a PDF file and share it with someone, and the names of everyone who took part would be hidden.

The researcher tried the button on one of their own reports. The PDF looked messy, but when they looked past the mess, the usernames were still there in plain text. The button had not hidden anything. They reported it, HackerOne removed the feature, paid a $500 bounty, and rated the issue Low severity. The researcher thought it should have been rated higher, and asked for the report to be made public so everyone could read the discussion.

This article walks through what they did, step by step, assuming you have never looked at a security report before.

Background: what the product and the feature do

HackerOne is a bug bounty platform. A company signs up, researchers send in reports about security problems in the company's systems, and the company's staff read and discuss each report. A report has a reporter (the researcher who found the bug), analysts and team members (the people on the company side who triage and discuss it), and a comment thread.

Reports can be private or non-disclosed. Private means only the people involved can read it. Non-disclosed means it is not shown to the public. In both cases, the usernames in the report are not public knowledge, so anything that leaks them matters.

The platform has an export feature: it turns a report into a PDF file so you can share it outside the site, for example by email. A PDF is a document format that looks the same on any computer, like a printed page saved as a file.

At the time of this finding, the export screen had a new checkbox labelled "I want to redact all usernames". The researcher points out that this applies to private and non-disclosed reports too, so the redaction is the only thing keeping the participants' identities out of the shared file.

The export is controlled by a URL. A URL is the address you type in the browser bar, like a street address for a web page. Some URLs carry extra instructions after a question mark, called parameters: they are name=value pairs separated by &. The export URL looked like this:

Text
https://hackerone.com/reports/<REPORT-ID>.pdf?redact_usernames=true&pdf_type=reporter

Line by line, in plain words:

  • https://hackerone.com/reports/ is the address of the reports section of HackerOne.
  • <REPORT-ID> is a placeholder for the number that identifies one specific report. The angle brackets mean "put the real number here".
  • .pdf tells the server to produce a PDF file instead of a normal web page.
  • ? starts the list of parameters.
  • redact_usernames=true is the switch for the new option. true means "yes, hide the usernames".
  • & separates one parameter from the next.
  • pdf_type=reporter chooses which view of the report goes into the PDF: here, the reporter's view.

So the URL is a request to the server saying: give me report number X as a PDF, hide all usernames, and use the reporter view.

Setup: what you need to try this

The researcher used their own reports on HackerOne and the built-in export button. No special tools are described. The only precondition is an account that can export a report, plus the new redaction option being visible in the export screen. The report does not describe any particular role or permission beyond that.

Finding it: how the researcher noticed the problem

While browsing the export report screen, the researcher saw the new "I want to redact all usernames" option. They read it as a promise: the exported PDF would not contain the usernames of the people involved. So they exported one of their own reports with the option switched on.

The PDF that came back looked messy. Messy here means the text was jumbled or full of odd strings, not neatly laid out. That mess is what made the researcher look closer at the contents instead of the layout. After filtering out the noisy strings, they found the usernames were still in the file even though the redaction option had been selected. The filtered output showed the reporter's username in clear text.

Japz Divino
Japz Divino From the original on medium.com

The proof of concept in the write-up shows only the reporter's username, but the researcher notes that all usernames in the report were disclosed, including those of analysts and other team members taking part in the report. A proof of concept (PoC) is a small demonstration that proves a bug is real, usually the minimum needed to show the effect.

Exploitation: the steps in detail

Step 1: Export with redaction enabled

The researcher exported one of their reports through the export feature with the redaction option selected. That produces a request along the lines of the URL above, with redact_usernames=true and pdf_type=reporter. The PDF that came back was visually messy, which is what prompted a closer look at its contents rather than its layout.

Why this step: the goal was to test the promise the button makes. If the button says usernames will be hidden, the simplest test is to use the button as intended and then check whether the names are really gone.

Step 2: Filter the PDF output

After stripping the messy strings from the extracted PDF content, the reporter's username was still readable. The same held for the other participants' usernames in the report, including analysts and team members, even though the option promised to redact all of them. The write-up's PoC shows the reporter's username only, for brevity; the researcher later supplied a video demonstrating the wider disclosure.

Why this step: a PDF is not just a picture of a page. It contains text, and that text can be pulled out and searched. Filtering removes the junk so the meaningful strings, like usernames, stand out. If a name survives that process, it is genuinely inside the file, not just hidden by the layout.

Step 3: Report and disclosure

The researcher submitted the finding to HackerOne. The team reverted the new feature and removed it entirely from the export function after the submission. The report was closed and rewarded, and the researcher requested public disclosure so the full context of the discussion would be available. Public disclosure means the report is published for anyone to read, instead of staying private between the researcher and the company.

Root cause: why it happened

The report does not describe the implementation, so the exact mistake is not stated. What the behaviour shows is that the redaction option did not actually remove the usernames from the generated PDF: the strings were still present in the exported file and could be recovered by filtering the output.

Impact: why it matters

Anyone exporting a report with the redaction option enabled could hand a PDF to a third party believing the participants' identities were hidden, while the file still contained them. This affects private and non-disclosed reports in particular, where the usernames are not otherwise public.

The researcher argued that once a feature exists to redact data, that data becomes confidential, and disclosing it is a sensitive information exposure. Confidential means it is meant to stay private. Sensitive information disclosure is the name for this class of bug: private data ends up somewhere it should not be.

HackerOne's position, quoted in the write-up, was that the confidentiality impact should stay at low because one username from the original reporter leaked in a small, not commonly used feature and the value of the PII exposed was not high. PII stands for personally identifiable information: data that points to a specific person, such as a username.

The researcher disagreed on both points. First, the disclosure covered almost all usernames of the involved participants, not just one; the single name in the PoC was chosen for brevity. Second, the feature was not commonly used only because it had just been deployed, and it was reverted after the vulnerability was reported. The final severity was Low (3.4) with a $500 bounty. Severity is a rating of how serious a bug is, and the number in brackets is a score from a standard scoring system called CVSS.

The researcher also pointed to two earlier public reports as comparisons: one about reading redacted data through a bot's answers, rated Medium, and one about partial disclosure of report activity through a zip export, where confidentiality was rated High. The argument is that when redacted data becomes readable, the rating should reflect that, whatever the data happens to be.

Fix: what changed

HackerOne reverted the feature and removed it completely from the export function.

Variants to test: other ways to look for the same class of bug

These are follow-up checks in the same spirit, useful if you want to practise on a similar feature.

  1. Export the same report with and without the redaction parameter and compare the extracted text. A positive result is any username present in the redacted export that should have been removed.
  2. Try other export formats with equivalent redaction options. A positive result is redacted data appearing in the archive. A zip file is a single file that packs several files together.
  3. Check whether the redaction applies only to the visible page but not to embedded metadata, annotations or hidden text layers in the PDF. A positive result is a username recoverable from the file after the visible text has been filtered. Metadata is data about the file itself, such as its author or title, stored inside it but not shown on the page.
  4. Test redaction options on private or non-disclosed reports specifically, since that is where the disclosure matters most. A positive result is a participant's username appearing in a file that was meant to be shareable without it.
  5. Compare the reporter view (pdf_type=reporter) with other views of the same report. A positive result is a view that ignores the redaction parameter.

Glossary

  • Bug bounty platform: a website where companies pay researchers for reporting security problems in their systems.
  • Report: the written description of a security problem, with a comment thread, submitted on a bug bounty platform.
  • Reporter: the researcher who found and submitted the bug.
  • Analyst / team member: a person on the company side who reads, triages and discusses the report.
  • Private report: a report only the people involved can read.
  • Non-disclosed report: a report that is not shown to the public.
  • Redact: to hide or remove a piece of text so it cannot be read.
  • PDF: a document format that looks the same on any computer, like a printed page saved as a file.
  • Export: turning data on a website into a file you can download and share.
  • URL: the address of a web page or resource, typed in the browser bar.
  • Parameter: an extra instruction in a URL, written as name=value after a question mark, with & between parameters.
  • Proof of concept (PoC): a small demonstration that proves a bug is real.
  • Public disclosure: publishing a report so anyone can read it.
  • Root cause: the underlying reason a bug happens.
  • Confidential: meant to stay private.
  • Sensitive information disclosure: a bug class where private data ends up somewhere it should not be.
  • PII: personally identifiable information, data that points to a specific person.
  • Severity: a rating of how serious a bug is.
  • CVSS: a standard scoring system that turns severity into a number.
  • Bounty: the money paid to a researcher for a valid report.
  • Metadata: data about a file, such as its author or title, stored inside it but not shown on the page.
  • Zip file: a single file that packs several files together.

More by Japz Divino

View all

5 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.