Cloudflare’s firewall and DDoS attack prevention mechanisms have been compromised due to logical vulnerabilities in the system.
This is because Cloudflare uses shared infrastructure that accepts connections from all tenants , allowing attackers to exploit gaps in cross-tenant security controls . By knowing the targeted web server’s IP address and having a free Cloudflare account , an attacker can set up a custom domain with Cloudflare , point the DNS A record to the victim’s IP address , and disable all protection features for that domain . This enables the attacker to bypass the victim’s protection features and tunnel their attacks through Cloudflare.
Additionally, attackers can abuse the trust associated with Cloudflare’s shared infrastructure. One issue is the use of a shared Cloudflare certificate   , which allows attackers with a Cloudflare account to send malicious payloads through the platform  . Another problem involves the abuse of allowlisting Cloudflare IP addresses to transmit rogue inputs and target other users   .
To address these issues , Cloudflare has acknowledged the findings and added a new warning in its documentation   , recommending the use of custom certificates for Authenticated Origin Pulls and considering additional security measures for origin servers  .
Furthermore, researchers at Certitude have discovered that attackers can hijack subdomains belonging to over 1,000 organizations using “dangling” DNS records . Additionally, adversaries are using dynamically seeded domain generation algorithms to avoid detection , as revealed by Akamai. Researchers have also demonstrated a DNS poisoning attack called MaginotDNS that exploits flaws in bailiwick checking algorithms .
This vulnerability in Cloudflare’s Firewall and DDoS prevention system undermines the effectiveness of its protection systems and puts its customers at risk. It is crucial for Cloudflare to address these logical vulnerabilities and strengthen its security measures to prevent further compromises. The findings from Certitude and other researchers highlight the need for continuous monitoring and improvement in DNS security to stay ahead of evolving attack techniques.