Skip to content

Write-ups

Cloudflare

Every publicly disclosed report for Cloudflare, what kind of bugs they were and what was paid.

disclosed reports
11
with a public bounty
2
median public bounty
$1,800
public bounties in all
$3,600

Disclosed reports

Newest first. Only what Cloudflare chose to make public.

Path traversal

Remote code execution in cdnjs of 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

SSRF

Cloudflare-wide IP spoofing with Cloudflare Workers

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

RCE

Hacking Cloudflare Pages part 2

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

Access control $3,300

Confused Deputy Vulnerability in Cloudflare CASB

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

SSRF

Security issues with cloudflare/odoh-server-go and the ODoH RFC draft

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

Misconfiguration

How to bypass CloudFlare bot protection ?

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

Cache bugs

Bypassing Web Cache Poisoning Countermeasures

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

RCE

Cloudflare Pages, part 1: The fellowship of the secret

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

Access control

Using Cloudflare to bypass Cloudflare by Stefan Proksch

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