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.
Published on medium.com
So, i was testing a program , and during my recon i came across tons of subdomains unfortunately there were wildcard.
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
- Run a directory search tool on the subdomain using a default wordlist.
- Notice a file named dump.rdb of about 3 MB.
- Download the file and install tools to read it.
- Convert the binary dump to JSON or text using rdbtools.
- 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.