Skip to content
Info disclosure Write-up Beginner

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.

Ski Mask Follow

Published on medium.com

Bounty$100 View original

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!!

Ski Mask, 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

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

  1. Calculate the favicon hash of the target's favicon.ico.
  2. Search Shodan using the favicon hash to find related IP addresses.
  3. Perform directory fuzzing on the discovered IP address.
  4. 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.

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.