Hashing the Favicon.ico
The author used a favicon hash to find an IP address belonging to the target, then directory-fuzzed it and discovered a backup file containing MySQL credentials. The credentials were no longer valid, so the impact was limited to a low-severity information leak.
Hey Folks, I am Ski Mask and I recently started bug bounty. in this Write-up, I will tell you about one of my findings!!
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
Impact
The exposed credentials could have allowed database access, but they were no longer valid, so the practical impact was limited.
What the attacker needed
Target has a favicon.ico; Shodan access; directory fuzzing tool
The fix
The backup file should be removed from the public server and credentials should not be stored in publicly accessible files.
How it was found
- Calculate the favicon hash of the target's favicon.ico.
- Search Shodan using the favicon hash to find related IP addresses.
- Perform directory fuzzing on the discovered IP address.
- Find a /.backup file that exposed MySQL credentials.
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 favicon is the small icon shown in a browser tab. Its hash is a short fingerprint that can be searched on services like Shodan to find other servers using the same icon, which may belong to the same company. The author found such a server, guessed file names on it, and found a backup file with database passwords, but those passwords no longer worked.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.