Cloudflare XSS
Cloudflare
Write-ups
Every publicly disclosed report for Cloudflare, what kind of bugs they were and what was paid.
Newest first. Only what Cloudflare chose to make public.
Cloudflare
The cdnjs library update server extracted npm tarballs without sanitising filenames, allowing path traversal. An attacker could overwrite regularly executed scripts and achieve remote code execution, potentially compromising cdnjs and tampering libraries served to many websites.
Cloudflare
A Cloudflare Workers bug allowed a worker to set the CF-Connecting-IP header on outgoing requests to other Cloudflare-protected sites, so those sites saw the worker's chosen IP instead of the real visitor's IP. An attacker could use this to impersonate any IP address, potentially accessing IP-restricted functionality.
Cloudflare
The Cloudflare Pages build system processed user-controlled _redirects and _headers files as root without checking for symlinks, allowing attackers to read arbitrary files. Additionally, an internal API had a path traversal flaw that let attackers access other users' build data, and a version environment variable could be abused to execute arbitrary code as root.
Cloudflare
A confused deputy flaw in Cloudflare CASB let the author view sensitive information about other customers' Microsoft and GitHub organisations, including employee names, emails, repository details and SharePoint links.
Cloudflare
The password policy on Cloudflare's signup and reset pages was enforced only in the browser interface, not on the server. An attacker could intercept the signup request and change the password to a weak one, which the server accepted.
Cloudflare
The ODoH relay implementation in cloudflare/odoh-server-go does not restrict the target host, content types, or redirects, allowing an attacker to make the relay send requests to internal hosts and read the responses. This enables SSRF, including access to cloud metadata services.
Cloudflare
A Cloudflare Worker can be configured as a reverse proxy that forwards requests to any site, and by adding a firewall rule the proxy can be accessed from Tor without triggering bot protection. This allows an attacker to bypass Cloudflare's bot protection and set an arbitrary X-Forwarded-For header, potentially evading IP-based restrictions.
Cloudflare
Cloudflare's mitigations against web cache poisoning, which added headers like X-Forwarded-Host to the cache key and blocked XSS characters, could be bypassed by sending duplicate headers. An attacker could poison the cache and serve malicious content to other users.
Cloudflare
Cloudflare Pages build environments had multiple command injection and privilege escalation flaws, allowing an attacker to execute arbitrary commands and access sensitive secrets such as GitHub private keys and Cloudflare API tokens. This could lead to read and write access to all 18,290 users' repositories connected to Cloudflare Pages.
Cloudflare
Cloudflare's shared origin protection mechanisms (Authenticated Origin Pulls with the shared Cloudflare certificate and allowlisting Cloudflare IP ranges) trust any traffic from Cloudflare, regardless of tenant. An attacker can create their own Cloudflare domain pointing to the victim's origin IP, disable protections, and tunnel malicious requests through Cloudflare, bypassing the victim's WAF and other defences.
Cloudflare