Brevo Supply-Chain Attack Uses Stolen Cloudflare Key to Push ClickFix Malware

Marketing and CRM provider Brevo confirms that attackers steal a long-lived Cloudflare API key hardcoded in application source code and use it to inject malicious ClickFix scripts into its websites and JavaScript components embedded on customer sites. The key carries full account permissions, allowing the attackers to create a Cloudflare Worker that rewrites content at the CDN edge for approximately five and a half hours on September 14. The attack affects pages on brevo.com, sendinblue.com, and sibforms.com, as well as the Brevo forms script, Conversations widget, and SDK loader scripts that customers embed on their own websites.

Because the Worker modifies responses at the edge and strips security headers such as Content-Security-Policy, Brevo's origin servers and files remain untouched, and standard integrity checks fail to detect the change. The company says the key may have been compromised as early as late August, though it finds no evidence of earlier malicious activity. Upon detection, Brevo removes the Worker and its routes, revokes the compromised key and any credentials created with it, eliminates the hardcoded credential from source code, deletes attacker-controlled hostnames, and purges its edge caches. The company states that app.brevo.com, its API, email delivery infrastructure, and customer account data remain unaffected.

Security firm Sansec first reports the incident and estimates that up to 100,000 websites using the affected Brevo components may be impacted. Visitors to compromised sites see a fake Cloudflare verification page followed by ClickFix instructions urging them to run a malicious command on their systems. Sansec confirms that all malicious subdomains stop resolving by September 15 and that Brevo files are now clean, closing out the exposure window that lasted from roughly 16:07 to 20:30 UTC on the day of the attack.

Read More at the original source →