Cloudflare's DDoS protection was bypassed using Cloudflare

watch 1m, 17s
views 2

07:53, 03.10.2023

It turned out that the DDoS protection by Cloudflare can be bypassed using the instruments offered by Cloudflare itself. Stefan Proksch, an Austrian security engineer, discovered the vulnerability by taking advantage of certain logical flaws in inter-client security management. What he needed was only a free Cloudflare account and the target IP.

The problem is related to Cloudflare's common infrastructure, which receives connections from all users having at once two vulnerabilities – one regarding requests from Authenticated Origin Pulls and another one regarding the allowlist.

Authenticated Origin Pulls is the function that provides that requests sent to the origin server go through Cloudflare (and not from a potential cybercriminal). Cloudflare reverse proxy servers use SSL certificates to authenticate themselves to the origin server (the server where the website is hosted). This helps ensure that the communication between Cloudflare and the origin server is secure.

An attacker could potentially take advantage of these vulnerabilities by doing the following:

  1. The attacker sets up a custom domain with Cloudflare and points the DNS A record to the victim's IP address (the origin server).
  2. The attacker then disables all protection features for that custom domain in their Cloudflare tenant.
  3. They can now route their attacks through the Cloudflare infrastructure using the shared certificate, effectively bypassing the protection features set up by the victim.

According to Proksch, his security issue can only be mitigated by using custom certificates. However, using custom certificates requires customers to create and maintain their own origin pull certificates, which may be less convenient than using the Cloudflare certificate.

Share

Was this article helpful to you?

VPS popular offers

-15.4%

CPU
CPU
4 Xeon Cores
RAM
RAM
4 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
60 Mbps
DDoS Protected SSD-wKVM 4096 Windows

73 /mo

/mo

Billed annually

-18.4%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
75 GB SSD
Bandwidth
Bandwidth
2 TB
wKVM-SSD 2048 Metered Windows

24 /mo

/mo

Billed annually

-10%

CPU
CPU
4 Xeon Cores
RAM
RAM
4 GB
Space
Space
50 GB SSD
Bandwidth
Bandwidth
Unlimited
KVM-SSD 4096 Linux

15.95 /mo

/mo

Billed annually

-10%

CPU
CPU
6 Epyc Cores
RAM
RAM
16 GB
Space
Space
150 GB NVMe
Bandwidth
Bandwidth
Unlimited
KVM-NVMe 16384 Linux

60.5 /mo

/mo

Billed annually

-8.6%

CPU
CPU
6 Epyc Cores
RAM
RAM
8 GB
Space
Space
100 GB NVMe
Bandwidth
Bandwidth
Unlimited
wKVM-NVMe 8192 Windows

42.3 /mo

/mo

Billed annually

-5.6%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
60 GB HDD
Bandwidth
Bandwidth
Unlimited
wKVM-HDD 2048 Windows

13.7 /mo

/mo

Billed annually

CPU
CPU
8 Epyc Cores
RAM
RAM
32 GB
Space
Space
200 GB NVMe
Bandwidth
Bandwidth
Unlimited
Keitaro KVM 32768
OS
CentOS
Software
Software
Keitaro
/mo

Billed annually

-10%

CPU
CPU
4 Xeon Cores
RAM
RAM
2 GB
Space
Space
60 GB HDD
Bandwidth
Bandwidth
Unlimited
KVM-HDD 2048 Linux

7.7 /mo

/mo

Billed annually

CPU
CPU
6 Epyc Cores
RAM
RAM
8 GB
Space
Space
100 GB NVMe
Bandwidth
Bandwidth
Unlimited
Keitaro KVM 8192
OS
CentOS
Software
Software
Keitaro
/mo

Billed monthly

-10%

CPU
CPU
4 Xeon Cores
RAM
RAM
4 GB
Space
Space
100 GB HDD
Bandwidth
Bandwidth
Unlimited
KVM-HDD 4096 Linux

15 /mo

/mo

Billed annually

Other articles on this topic

cookie

Accept cookies & privacy policy?

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the HostZealot website.