Origin IP found, Cloudflare bypassed
The origin server behind Cloudflare was found by correlating SSL certificates, allowing direct access that bypasses the WAF. An attacker could send unfiltered payloads and perform denial-of-service attacks.
- Fixed in under an hour
- Disclosed after 22 hours
Summary by the program
Although this was a duplicate report of a GitHub issue that we had created previously, we decided to close this report as "resolved" to award a couple of points to @europa and all the similar submissions that we received after this report.
The report
Hello team, during the initial assessment of your assets I've come across what seems to be the unprotected origin server for www.liberapay.com.
Description
The frontend currently resolves to ████ and ███, both owned by Cloudflare, which act as your reverse proxy and WAF. By correlating your SSL Certificates to other hosts on the internet that serve the same content I was able to determine the current Origin Server as ██████████ and ██████, both operated by Amazon's AWS services in the EU-WEST-1 region.
By using these IP address as a resolver instead of the intended addresses I'm able to access the service without going through the WAF, thus I'm able to forward unfiltered payloads to the service, as well as avoiding the common protections offered by Cloudflare, also being able to perform crippling denial-of-services towards the origin.
Suggestions
My recommendations fall in line with Cloudflare's own guidelines: the Origin server must communicate exclusively with Cloudflare's IP address ranges, otherwise—as reported in this post on Cloudflare's blog, the protection offered by having a reverse proxy basically becomes useless.
Impact
As reported in many other submissions, Cloudflare bypasses can have a significant impact, as any adversary is now able to communicate with the origin server directly, enabling them to perform unfiltered attacks (such as denial-of-service), and data retrieval.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the origin server accepted connections from any IP address instead of only Cloudflare's, so its address could be discovered and used directly.
Impact
An adversary could communicate directly with the origin server, enabling unfiltered attacks such as denial-of-service and data retrieval.
What the attacker needed
None
How it was found
- Resolve the frontend to Cloudflare IPs.
- Correlate SSL certificates to find hosts serving the same content.
- Identify the origin server IPs on AWS.
- Use those IPs to access the service directly, bypassing the WAF.
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 report has not been written yet. The Original tab links to the source.
Cloudflare is a service that sits in front of a website to block attacks. The report found the real server's address, so attackers could talk to it directly and skip Cloudflare's protection.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.