Skip to content
Info disclosure Disclosed report Intermediate

Reading redacted data via hackbot's answers

The hackbot's duplicate detection compared the real redacted text rather than the redaction placeholder, so an attacker could brute-force the hidden value by submitting reports and observing similarity scores. This could reveal redacted information in public reports or reports from the same program.

inhibitor181 Follow

Originally disclosed on HackerOne

Bounty$1,500incl. $500 bonus Medium View original
  • Triaged in 2 days
  • Fixed in 4 days
  • Paid in 17 days
  • Disclosed after 17 days

Summary: Hello, I have found a way to use hackbot's automated duplication answers to reveal redacted data via brute force. This is restricted by the length of the report and number of radacted items. For short report with little content and just 1-2 redacted texts this is rather easy to accomplish, but for very long report this is nearly impossible without luck and a lot of time.

Impact Because hackbot posts comments in order to help customers identify duplicated reports, I wanted to try and see if I can somehow manage to make it disclose other information. I have then seen that the bot identifies duplicated reports from other public reports unrelated to the program. To my surprise, I have then observed that the bot does not identify duplicated reports while using the same redacted text (the black squares), but it has identified the real text that it has already been redacted.

IMO, this is a medium issue because:

  • Someone actually wanted to hide information form public eyes and this information can be identified AND it does not require any other user's action.
  • This method is not usable in EVERY case and only affects public reports OR reports from the same program.

Steps To Reproduce

  1. Create a test program
  2. With a hacker create a submission (example for my test was with subject "testredact" and the content "testredact password is 123456789".
  3. Login with an admin and redact a certain part of the text (in my test I redacted 123456789)
  4. Login with another hacker and submit a new report while trying to mimic the redacted report

So, using the data from my tests this has been accomplished :

  • By making a new submission with the same subject, but the content "testredact password is 123456xxx", the hackbot told me that the report is 78% the same
  • By making a new submission with the same subject, but the content "testredact password is 123456781", the hackbot told me that the report is 88% the same
  • By making a new submission with the same subject, and the same content "testredact password is 123456789", the hackbot told me that the report is 100% the same

This method should also works against public reports that have redacted content and a user can simply create his own test program in order to try and identify redacted text.

IMO, the hackbot should not try and identify redacted texts

Optional: Supporting Material/References (Screenshots)

I have uploaded a screenshot where you can see the 100% and the 88% identified text (last 2 tests from my replication steps)

The original report as published on HackerOne, by inhibitor181. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could brute-force redacted text in public reports or reports from the same program, but the method is not usable in every case and is limited by report length and number of redacted items.

What the attacker needed

Access to public reports or same program; ability to submit reports; redacted content present

The fix

The hackbot should not try to identify redacted texts.

How it was found

  1. Create a test program
  2. With a hacker create a submission with known content
  3. Login with an admin and redact a certain part of the text
  4. Login with another hacker and submit a new report while trying to mimic the redacted report
  5. Observe the similarity percentage reported by the hackbot

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When a report is made public, some parts can be hidden (redacted) by replacing them with black squares. A helper bot compares new reports to old ones to find duplicates, but it compares the hidden text instead of the black squares. By submitting slightly different guesses and seeing how similar the bot says they are, someone can work out what the hidden text was.

What is Info disclosure?

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

More by inhibitor181

View all

10 more disclosed reports, best first.

More from HackerOne

View all

The newest disclosed reports for this program.

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.