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
6 Xeon Cores
RAM
RAM
16 GB
Space
Space
150 GB SSD
Bandwidth
Bandwidth
100 Mbps
DDoS Protected SSD-wKVM 16384 Windows

130 /mo

/mo

Billed annually

-10%

CPU
CPU
6 Xeon Cores
RAM
RAM
16 GB
Space
Space
150 GB SSD
Bandwidth
Bandwidth
Unlimited
KVM-SSD 16384 Linux

49.99 /mo

/mo

Billed annually

-9.6%

CPU
CPU
8 Xeon Cores
RAM
RAM
32 GB
Space
Space
200 GB SSD
Bandwidth
Bandwidth
12 TB
wKVM-SSD 32768 Metered Windows

156 /mo

/mo

Billed annually

-21.5%

CPU
CPU
2 Xeon Cores
RAM
RAM
2 GB
Space
Space
75 GB SSD
Bandwidth
Bandwidth
300 GB
wKVM-SSD 2048 HK Windows

26 /mo

/mo

Billed annually

-9.2%

CPU
CPU
4 Xeon Cores
RAM
RAM
4 GB
Space
Space
100 GB SSD
Bandwidth
Bandwidth
Unlimited
10Ge-wKVM-SSD 4096 Windows

72 /mo

/mo

Billed annually

-10%

CPU
CPU
3 Epyc Cores
RAM
RAM
2 GB
Space
Space
25 GB NVMe
Bandwidth
Bandwidth
Unlimited
wKVM-NVMe 2048 Windows

9.9 /mo

/mo

Billed annually

-10%

CPU
CPU
10 Epyc Cores
RAM
RAM
64GB
Space
Space
400 GB NVMe
Bandwidth
Bandwidth
Unlimited
Keitaro KVM 65536
OS
CentOS
Software
Software
Keitaro

149.04 /mo

/mo

Billed annually

-8.9%

CPU
CPU
6 Xeon Cores
RAM
RAM
16 GB
Space
Space
400 GB HDD
Bandwidth
Bandwidth
Unlimited
wKVM-HDD 16384 Windows

56 /mo

/mo

Billed annually

-8.1%

CPU
CPU
6 Xeon Cores
RAM
RAM
8 GB
Space
Space
200 GB HDD
Bandwidth
Bandwidth
Unlimited
wKVM-HDD 8192 Windows

31.25 /mo

/mo

Billed annually

-10%

CPU
CPU
3 Xeon Cores
RAM
RAM
1 GB
Space
Space
40 GB HDD
Bandwidth
Bandwidth
Unlimited
KVM-HDD 1024 Linux

6.1 /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.