Advanced levelPremium

Cloudflare WAF Bypass — oversized body, header stuffing and cache poisoning

Cloudflare's WAF has per-plan inspection limits (~8KB Free, 128KB Enterprise). Padding bypass, header stuffing >100 headers, IP origin disclosure.

Gorka El BochiMay 9, 202614 min

Stop reading about bugs and start hunting them

No card · free Academy · cancel anytime

Create free account

Quick answer

The Cloudflare WAF has body inspection limits that depend on the plan: ~8 KB on Free, 128 KB on Enterprise. Classic bypass: fill the body with padding until you exceed the limit, and the payload that follows passes without inspection. Other vectors: header stuffing (>94-100 headers, OpenResty truncates), IP origin disclosure via Censys/historical DNS, cache poisoning with ignored headers, cache rule mismatch.


1. Body inspection limits

Cloudflare doesn't inspect the whole body. The limit depends on the target's plan:

PlanWAF inspection limitExpandable?
Free~8 KBNo
ProLow by defaultYes, up to 1 MB via support
BusinessLow by defaultYes, up to 1 MB via support
Enterprise128 KBYes, up to 1 MB via support

History (December 2025)

Cloudflare tried to raise the limit to 1 MB for all plans on December 5, 2025 (because of CVE-2025-55182, React RCE). They reverted it because it caused a wave of false positives. They went back to the previous limits. Only paying customers who explicitly request it have 1 MB.

Practical implication: most sites on Cloudflare Free/Pro still have low limits. Same bypass as on AWS WAF.


2. Oversized body bypass — step by step

Keep reading the full chain

The remaining part includes the step-by-step PoC, exploitation code and the full chain that led to impact. Available to subscribers.

Free · no account

The checklist I run on every new target

47 checks ordered by cost: first what can get you in trouble, then the cheap stuff, and finally the expensive stuff — which is where the big bounties are. I'll send it to your inbox right now.

Unsubscribe in one click, from any email.

Practice this in a lab

Waf Bypass

Solve

Keep learning · free account

Save your progress, unlock advanced payloads and rank your flags.

Create account

Related articles

4,183

hunters training

68

labs from real hacks

2,125

completions

$14,790

paid out for these bugs

6 flags captured this week·Real hacks from HackerOne · YesWeHack · Bugcrowd·No commitment·Free Academy

The community

This isn't a platform with users.It's people breaking the same things you are.

Inside people ask, share what they found and solve together what would block anyone on their own. It's free to join: no account, no plan, no email required.

Join the BBLABS community on Discord
Join the Discord

Free and open. You don't need a BBLABS account to join.