Skip to content
Misconfiguration Write-up Beginner

When the warehouse has no lock

An analytics warehouse for a crypto exchange was reachable on a public port and had four built-in accounts, all with blank passwords, including a full administrative one. Anyone who connected could read the entire user table, KYC documents, TOTP seeds, recovery codes, withdrawal address books, admin hashes and OAuth client secrets without authentication.

medium.com

Published on medium.com

Crypto exchanges spend fortunes on the front door. Hardware security modules for the hot wallets.

Pawel Grzegrzolka, 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 analytics database was installed with default accounts and empty passwords, never hardened, and then exposed to the internet by a widened network rule.

Impact

An attacker could pull the full identity graph, defeat 2FA at scale using stored TOTP seeds and recovery codes, build balance-ranked target lists for fraud or coercion, and move laterally with leaked OAuth secrets and admin hashes; no wallet was drained during the test.

What the attacker needed

Network access to the public port; default credentials with blank password; none

The fix

Passwords should be set and rotated on every data service account, the warehouse should sit behind a private network boundary, and raw secrets such as TOTP seeds and KYC images should not be replicated into analytics.

How it was found

  1. Enumerate the organisation's address space for management ports of common data infrastructure, not just web ports.
  2. Try the documented default credentials, including a known username with an empty password.
  3. Once connected, list schemas, tables and row counts to find where identities and money live.
  4. Query the user table to read emails, TOTP seeds and withdrawal addresses.

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 database is a program that stores and answers questions about data. This one was meant to be used only inside the company, but it was reachable from the internet and had no password on its accounts. So anyone who found it could simply log in and read everything, including the secrets used to generate two-factor login codes.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.