On November 16, a significant cybersecurity breach was revealed by Scott Helme, the founder of the website security monitoring service Report URI. Hackers exploited vulnerabilities within the A/B testing platform Optimizely, embedding malicious code into the websites of 178 institutions, including major media outlets like BBC and CNN.
The embedded malicious code poses severe risks, allowing attackers to replace cryptocurrency wallet addresses, intercept credit card information entered by visitors, and launch targeted attacks on certain iPhone and iPad users.
Following an extensive examination of 1,611 Optimizely scripts, the Report URI team identified that 188 of them contained this malicious code, impacting a diverse range of organizations. The affected entities include prominent names such as HSBC, Fox News, Salesforce, GitLab, IKEA, Equifax, the Air France-KLM Group, cryptocurrency wallet provider Ledger, and Starbucks Canada.
Helme indicated that the actual number of affected organizations could be even higher, as the team was limited to analyzing scripts that could be recovered in a timely manner.
The institutions impacted by this breach span various sectors including finance, technology, retail, media, aviation, and hospitality. According to Report URI, the financial sector suffered the most, with 32 affected organizations, followed by 23 in technology and software, 20 in retail and fashion, 12 in streaming and entertainment, and 10 in news media.
In response to the crisis, Victoria Johnson, a spokesperson for Optimizely, informed tech media outlet Gizmodo that unauthorized third parties had exploited a vulnerability in their Experimentation account registration process. This allowed them to maliciously inject JavaScript into the web projects of some clients. Optimizely has since patched the vulnerability, removed the injected code, and notified all impacted clients.
Optimizely added that they have blocked access routes associated with the vulnerability, secured the accounts of affected users, and implemented further measures to prevent the spread of unauthorized code. However, the company did not disclose the number of customers impacted, nor did they clarify how hackers used the registration vulnerability to alter other clients’ websites or if customer data held by Optimizely had been accessed.
Many organizations utilize Optimizely scripts to test different versions of their web pages. The investigation by Report URI revealed that the hackers had inserted malicious code into the Project JavaScript field of Optimizely’s web client projects. These scripts were subsequently delivered via Optimizely’s content delivery network, leading them to be perceived as trustworthy third-party resources by visitors’ browsers.
When users accessed the affected websites, the malicious code had the capability to alter cryptocurrency wallet addresses displayed on the page or copied by users, replacing them with addresses controlled by the hackers. Additionally, it could capture credit card details such as numbers, expiration dates, and security codes entered into website forms. The code was also able to steal cookies from web pages and record the URLs of pages viewed by users, along with taking screenshots.
Furthermore, the malicious code deployed different attack vectors targeting specific iPhone and iPad users; however, there is currently no evidence indicating that any devices have been successfully compromised as a result.
As per data from Report URI, by November 16 at 7:25 PM (UTC), wallets linked to the hackers had received approximately $7,040 worth of cryptocurrency. The scale of any potential credit card data breaches remains unclear at this time.
In a related finding, researchers from Report URI and Hudson Rock, a cybersecurity firm, discovered that between November 13 and 16, services such as Kissmetrics, StorifyMe, and Minute Media’s minute-ly exhibited similar or related malicious scripts. They noted that while current evidence suggests these services disseminated relevant code, it is not sufficient to confirm that they were breached in the same manner or to identify the hackers’ identities.
For general users who visited any affected websites on November 16 and may have copied or pasted cryptocurrency wallet addresses, it is advisable to check for any cryptocurrency transfers on that day and meticulously verify the wallet addresses. Those who entered credit card information on compromised websites should closely monitor their statements for any anomalies and contact their card issuers if necessary. iPhone and iPad users are urged to promptly update their devices to the latest iOS version.
Website administrators using Optimizely should immediately inspect their web projects for any residual suspicious code and update relevant account passwords and API keys to mitigate potential risks.
This incident serves as a stark reminder of the inherent risks associated with third-party scripts: even if a website’s internal systems remain intact, visitors may still find themselves vulnerable to malicious code if trusted external services are exploited.