Skip to content
Info disclosure Write-up Beginner

From Duplicate to $$$$ Bounty

A public Algolia search key exposed internal financial, moderation, and demographic fields across two indices, allowing unauthenticated access to sensitive data. A source map file also leaked the key and anti-automation bypass details.

medium.com

Published on medium.com

About a month before this story, I had already reported this exact issue. Same root cause, same exposed data.

Tyrion404, 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 the Algolia API key had overly broad permissions, allowing retrieval of internal fields and access to a second index, and source maps were publicly accessible.

Impact

An unauthenticated attacker could access precise financial data, internal moderation decisions, and sensitive gender identity information for hundreds of thousands of accounts, and obtain development credentials and anti-automation bypass details.

What the attacker needed

None

The fix

The fix should explicitly allowlist which fields are safe to return publicly, rotate any exposed key, and block public access to source map files.

How it was found

  1. Extract the Algolia API key and index name from the public JavaScript bundle.
  2. Send a search query to the Algolia index requesting internal fields like earnings and order counts.
  3. Filter by the restrictions field to list accounts with high moderation status.
  4. Query a second index for business talent accounts to retrieve demographic data.
  5. Access the server.js.map source map file to obtain additional keys and anti-automation details.

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 website's search feature used a public key to query a database. That key was allowed to return private information like earnings and moderation status, which anyone could request without logging in.

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.