Skip to content
Info disclosure Write-up Intermediate

$25,000 Bounty just for sensitive information disclosure

A JSON endpoint for HackerOne reports exposed sensitive account details of the report's reporter, including email, OTP backup codes, phone number and a GraphQL secret token. An attacker could read this data to take over or compromise reporter accounts.

medium.com

Published on medium.com

This is Hacker One report that helps to understand which kind of Vulnerability we will find in our target and Learn about new methodologies to earn more bounty.

Mr Horbio, 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.

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

How it worked

Root cause

Likely a change in the Ruby on Rails version altered how Ruby hashes are serialised to JSON, causing symbol and string keys to be treated as duplicates and exposing extra fields.

Impact

Sensitive reporter data such as email, OTP backup codes, phone number and a GraphQL secret token could be disclosed, potentially enabling account compromise.

What the attacker needed

Access to a report JSON endpoint

How it was found

  1. Request the JSON version of a disclosed report endpoint.
  2. Observe that the response contains sensitive reporter account fields.

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 write-up has not been written yet. The Original tab links to the source.

A web server can return data in a format called JSON, which is just structured text. Here, a page meant to show a bug report also included private details about the person who filed it, such as their email and backup login codes. Anyone who could load that page could see those secrets.

What is Info disclosure?

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

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.