Origin Ip Found D Dos Waf Cloudflare Protection Bypassed
The origin server IP behind Cloudflare was discovered via favicon hash search on Shodan, allowing direct communication with the origin and bypassing the WAF and DDoS protection. An attacker could then perform unfiltered attacks such as denial-of-service and data retrieval.
Published on infosecwriteups.com
Tool to find the real IP behind CDNs/WAFs like Cloudflare using passive recon by retrieving the favicon hash. For the same hash value, all the possible IPs, PORTs and SSL/TLS Certs are searched to validate the target in-scope.
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 origin server was directly reachable from the internet instead of only accepting connections from Cloudflare's IP ranges.
Impact
An adversary could communicate directly with the origin server, enabling unfiltered attacks such as denial-of-service and data retrieval, and bypassing the WAF.
What the attacker needed
Target uses Cloudflare; Favicon is unique and indexed by Shodan; Shodan access (free or paid)
How it was found
- Visit the main website.
- Find the full URL of the favicon file.
- Generate a hash of the favicon using a script.
- Search Shodan for that hash to find IP addresses serving the same favicon.
- Identify the origin IP from the Shodan results.
- Verify WAF bypass by scanning the domain and the IP with wafw00f.
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.
Websites often hide their real server behind a protection service like Cloudflare, which filters traffic. Here, the real server's address was found by matching a small icon file (favicon) across internet scans. This let anyone talk directly to the unprotected server, skipping the protection.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.