Skip to content
Info disclosure Write-up Beginner

How i found credential enriched redis dump

A Redis dump file (dump.rdb) was publicly accessible on a subdomain, and when decoded it contained SMTP login credentials, usernames, passwords, and addresses. An attacker could use these credentials to access email accounts or other systems.

Ashish Kunwar Follow

Published on medium.com

So, i was testing a program , and during my recon i came across tons of subdomains unfortunately there were wildcard.

Ashish Kunwar, 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 Redis dump file was accidentally left in a publicly accessible web directory.

What the attacker needed

Publicly accessible dump.rdb file; no authentication required

The fix

The file should be removed from the public web directory and access to it restricted.

How it was found

  1. Run a directory search tool on the subdomain using a default wordlist.
  2. Notice a file named dump.rdb of about 3 MB.
  3. Download the file and install tools to read it.
  4. Convert the binary dump to JSON or text using rdbtools.
  5. Open the converted file and find credentials and personal data.

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 Redis dump file is a backup of a database that stores data in memory. If this file is left on a public web server, anyone can download it and read everything inside, including passwords. Here, the file was found by guessing common file names on a website.

What is Info disclosure?

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

More by Ashish Kunwar

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.