Cloudflare zero-day: Accessing any host globally
fearsoff.org
Cloudflare zero-day: Accessing any host globally
1–10 of 16 posts
Re: Cloudflare zero-day: Accessing any host globally
#2Re: Cloudflare zero-day: Accessing any host globally
#3I’m not sure what the nextjs vulnerability is supposed to showcase - they’re putting secrets on their 404 page and relying on cloudflare to not show it?
Re: Cloudflare zero-day: Accessing any host globally
#4I’m not sure what the nextjs vulnerability is supposed to showcase - they’re putting secrets on their 404 page and relying on cloudflare to not show it?
That means that any client that relies on this WAF to authenticate users (like with the NextJS example, where some information that would not be considered sensitive "internally" is exposed externally) or cover over security holes in their application (like with the Spring example, where the path traversal vulnerability in Spring is normally caught by Cloudflare before Spring can see it) would have this assumption violated
Re: Cloudflare zero-day: Accessing any host globally
#5I’m not sure what the nextjs vulnerability is supposed to showcase - they’re putting secrets on their 404 page and relying on cloudflare to not show it?
All their examples rely on having poorly configured origins. At least the PHP and Tomcat ones might be blocked by a WAF, but the Next.js one would rely on the WAF blocking responses that included secrets (which I’m not sure they do).
I'm not sure how realistic this is in practice. Does anyone actually configure Cloudflare WAF this way? (As opposed to, e.g., Cloudflare's dedicated zero-trust networking product, which I think works completely differently?)
Re: Cloudflare zero-day: Accessing any host globally
#6I’m not sure what the nextjs vulnerability is supposed to showcase - they’re putting secrets on their 404 page and relying on cloudflare to not show it?
I think it's not a severe issue in most cases, and maybe something worth noting or addressing if you are at least aware of it, you can just 404 without content, for example in the .well-known/ path. I run most of my apps behind Caddy, which handles that path itself and doesn't forward requests to that path, so I'm curious how it handles it tbh.
I'm also not sure that there's a clear/good fix for this, since CF is allowing the traffic through so that ACME negotiation can work against the final application host.
Re: Cloudflare zero-day: Accessing any host globally
#7Re: Cloudflare zero-day: Accessing any host globally
#8Not that big of a deal, but interesting.
Re: Cloudflare zero-day: Accessing any host globally
#9The HTTP-01 challenge can only be done on port 80.