Brevo supply-chain attack injected ClickFix scripts on customer sites
Attackers stole a key to inject malicious scripts into Brevo's websites and customer sites, distributing malware for hours.
Overview
Attackers stole a Cloudflare API keyA secret string a program sends with an API request to identify itself and get access that was hardcodedPasswords or secret keys written directly into source code instead of stored in a separate vault in the source codeThe human-readable programming instructions written by developers before they are compiled into a runnable program of Brevo, a digital marketing company. They used this keyThe secret value that locks or opens a message to create a malicious Cloudflare Worker that modified content at the CDNA geographically spread network of edge servers that caches web content close to visitors and absorbs attack traffic edge for approximately five and a half hours on September 14. This change affected pages on brevo.com, sendinblue.com, login/account/my/onboarding.brevo.com, and sibforms.com, as well as scriptsA short program written in an interpreted language to automate tasks in a browser, shell, or application embedded on customer sites. The modification removed security headers like Content-Security-PolicyAn HTTP response header that tells browsers which domains are allowed to load scripts on a web page, which prevented standard integrityThe property that data was not changed checks from detecting the change. Visitors to these sites were shown a fake verification page followed by instructions to run a command on Windows. The incident may have impacted up to 100,000 websites that use the affected Brevo components.
Terms in this story
- API key
- A secret string a program sends with an API request to identify itself and get access. Software teams sometimes accidentally upload an API key to a public code repository, allowing attackers who scan for leaked keys to rack up cloud bills or read private databases. Security+ objective 4.6 lists the term
- API
- A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
- key
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- hardcoded
- Passwords or secret keys written directly into source code instead of stored in a separate vault. When a vendor ships a router or server appliance with hardcoded credentials inside its firmware, every customer device shares the exact same secret backdoor password.
- source code
- The human-readable programming instructions written by developers before they are compiled into a runnable program. When attackers steal a company's private source code from a repository, they can study it to find hidden vulnerabilities or leaked API keys.
- CDN
- A geographically spread network of edge servers that caches web content close to visitors and absorbs attack traffic. Many websites sit behind a CDN so pages load quickly worldwide and so flood traffic hits the provider's edge servers instead of overwhelming the company's origin server.
- scripts
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- Content-Security-Policy
- An HTTP response header that tells browsers which domains are allowed to load scripts on a web page. When a website sets a strict Content Security Policy, a visitor's browser refuses to run unauthorized inline scripts or send stolen data to an attacker's server during a cross-site scripting attack.
- integrity
- The property that data was not changed. File checksums and digital signatures protect integrity so you know a downloaded software update or bank wire instruction was not altered in transit by an attacker. From the CYBR 101 room CYBR 101: What is a hash?
- supply-chain attack
- Breaking into a software maker or vendor so their trusted product or update infects their customers. Instead of attacking a hundred companies one by one, an intruder compromises a single software library or update server that all of those companies already trust. Security+ objective 2.2 lists the term
- ClickFix
- A lure that tricks a user into copying and running a malicious command themselves. A fake verification box or error pop-up on a website tells the visitor to press a key shortcut and paste a fix into their terminal, which silently downloads malware. Security+ objective 2.2 lists the term
- JavaScript
- The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the BleepingComputer website. Cite the article, not this page.
Read the full article on BleepingComputer (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Breach or attack
"...attackers stole a Cloudflare API key..." Found by reading the article; these exact words are in it - Security+ 2.2 Explain common threat vectors and attack surfaces.
"Brevo supply-chain attack injected ClickFix scripts on customer sites..." Found in the headline - Security+ 2.3 Explain various types of vulnerabilities.
"Brevo supply-chain attack injected ClickFix scripts on customer sites..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......files embedded on customer sites to distribute malware." Found in the opening sentences - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"Brevo confirmed that attackers stole a Cloudflare API key and used it to inject malicious ClickFix..." Found in the opening sentences - Security+ 5.3 Explain the processes associated with third-party risk assessment and management.
"Brevo supply-chain attack injected ClickFix scripts on customer sites..." Found in the headline - CYBR 101 week 10: the web, cookies, phishing, incident response and logs
"Brevo supply-chain attack injected ClickFix scripts on customer sites..." Found in the headline - CYBR 101 week 8: networks, ports, DNS and packets
"Brevo confirmed that attackers stole a Cloudflare API key and used it to inject..." Found in the opening sentences - CYBR 101 week 9: malware, indicators and how detection works
"......files embedded on customer sites to distribute malware." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Analyze identified malicious activity to determine weaknesses exploited, exploitation methods, effects on system and information.
"Worker rewrote responses at the edge and removed security headers..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role