Optimizely compromised, served malware on Zoom, GitLab
本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。
On 16 November 2026, malicious JavaScript was served to visitors of 178 organisations through the Optimizely Web experimentation platform. The list includes some of the most visited sites in the world: Zoom, the BBC, CNN, Salesforce, GitLab, IKEA, HSBC, Equifax, Air France-KLM, Ledger and Peacock.
2026年11月16日,恶意 JavaScript 代码通过 Optimizely Web 实验平台被推送给 178 家机构的访客。受影响名单包括全球访问量最大的网站,如 Zoom、BBC、CNN、Salesforce、GitLab、宜家 (IKEA)、汇丰银行 (HSBC)、Equifax、法荷航集团 (Air France-KLM)、Ledger 和 Peacock。
The malware was a multi-purpose kit. It swapped cryptocurrency wallet addresses for the attacker’s, skimmed payment cards, stole cookies and screenshots, and on iPhones and iPads it delivered the Coruna and DarkSword iOS exploit kits. Crypto has already been stolen, with verified transactions to the attackers.
该恶意软件是一个多功能工具包。它将加密货币钱包地址替换为攻击者的地址,窃取支付卡信息、Cookie 和屏幕截图;在 iPhone 和 iPad 上,它还会投放 Coruna 和 DarkSword iOS 漏洞利用工具包。目前已有加密货币被盗,并有向攻击者转账的已验证交易记录。
This is exactly the kind of attack Report URI is designed to detect. Our platform can identify unexpected changes to trusted JavaScript, detect new scripts being loaded and reveal suspicious connections to external destinations. In this case, those signals would have exposed the malicious activity, even though the original script was being served from a trusted Optimizely domain. With an appropriate CSP in enforcement mode, organisations could have gone a step further and blocked key parts of the attack before they succeeded.
这正是 Report URI 旨在检测的那类攻击。我们的平台能够识别受信任 JavaScript 的异常变更,检测新加载的脚本,并揭示指向外部目标的异常连接。在此次事件中,即使原始脚本是从受信任的 Optimizely 域名提供的,这些信号也能暴露恶意活动。如果组织启用了适当的强制模式内容安全策略 (CSP),本可以更进一步,在攻击成功前拦截其关键环节。
The important lesson here is that trusted JavaScript doesn’t always remain trustworthy. A website can be compromised through a third-party dependency without its own code or infrastructure ever being breached.
这里的重要教训是:受信任的 JavaScript 并不总是保持可信。网站可能通过第三方依赖项遭到入侵,而其自身的代码或基础设施并未受到直接破坏。
Most of the malicious code has now been removed. At 21:52 UTC we found it in only 1 of the 188 infected snippets, down from 169 at 20:56 UTC. If your site uses Optimizely Web, or you visited any of the sites below today, read on.
目前大部分恶意代码已被移除。协调世界时 (UTC) 21:52,我们在 188 个受感染的代码片段中仅发现 1 个仍含有恶意代码,而 20:56 时这一数字为 169 个。如果您的网站使用 Optimizely Web,或者您今天访问过下方的任何网站,请继续阅读。
Optimizely Web works by having each customer load a JavaScript “snippet” from Optimizely’s CDN, for example https://cdn.optimizely.com/js/6395285578973184.js. The snippet contains Optimizely’s code, the customer’s experiments and an optional field called Project JavaScript (projectJS): custom code the customer writes in their Optimizely dashboard, which runs on every page.
Optimizely Web 的工作原理是让每个客户从 Optimizely 的 CDN 加载一个 JavaScript “代码片段”,例如 https://cdn.optimizely.com/js/6395285578973184.js。该片段包含 Optimizely 的代码、客户的实验内容以及一个名为“项目 JavaScript (projectJS)”的可选字段:这是客户在 Optimizely 控制面板中编写的自定义代码,会在每个页面上运行。
The attacker wrote their own code into the Project JavaScript of customer projects, and the rest of each snippet was untouched. The file was still served from cdn.optimizely.com, with Optimizely’s certificate, from a host that every affected site already trusted. Here is what was added to Zoom’s snippet:
攻击者将自己的代码写入了客户项目的“项目 JavaScript”中,而代码片段的其他部分未受影响。该文件依然由 cdn.optimizely.com 提供,带有 Optimizely 的证书,且来自所有受影响网站均已信任的主机。以下是添加到 Zoom 代码片段中的内容:
We saw three versions of the injected loader:
我们观察到了注入加载器的三个版本:
Some customers serve their snippet from their own domain, such as opt.scheels.com/js/
一些客户通过自己的域名提供代码片段,例如 opt.scheels.com/js/
We don’t know how the attacker got write access to so many unrelated customer projects: a compromised Optimizely system, a compromised credential with cross-customer access, or something else. That’s for Optimizely to explain. To be clear, Optimizely’s CDN served exactly what it was given; this was not a CDN cache-poisoning attack. Optimizely’s own sites were affected as well: the snippets for www.optimizely.com and login.optimizely.com both carried the code.
我们尚不清楚攻击者是如何获得如此多互不关联的客户项目的写入权限的:是 Optimizely 系统被入侵、拥有跨客户访问权限的凭据被泄露,还是其他原因。这需要 Optimizely 来解释。需要明确的是,Optimizely 的 CDN 只是按原样分发了被注入的内容;这不是 CDN 缓存投毒攻击。Optimizely 自身的网站也受到了影响:www.optimizely.com 和 login.optimizely.com 的代码片段均携带了该恶意代码。
The payload was rebuilt 26 times during the day. The attacker added features, and added wallets but never removed any.
该有效载荷在当天被重建了 26 次。攻击者不断添加功能和钱包地址,但从未删除过任何内容。
Every visitor received the same script, track.js, and every part of it was active at once. What a visitor experienced depended on their device and what they did on the page.
每位访客都收到了相同的脚本 track.js,且其所有部分同时处于激活状态。访客的具体遭遇取决于他们使用的设备以及在页面上的操作。
The script finds any valid wallet address (BTC, ETH and EVM chains, TRON, Solana, TON, Litecoin, Bitcoin Cash, Dogecoin) and replaces it with one of the attacker’s. It validates checksums so it only swaps real addresses. It swaps them in:
该脚本会查找任何有效的钱包地址(BTC、ETH 及 EVM 链、TRON、Solana、TON、莱特币、比特币现金、狗狗币),并将其替换为攻击者的地址。它会验证校验和,因此只会替换真实的地址。替换范围包括:
It re-scans the page whenever it changes. Copy an address from any affected page, or from anywhere else while that tab is open, and you may paste the attacker’s.
每当页面发生变化时,它都会重新扫描页面。在受影响的页面或该标签页打开时从任何其他地方复制地址,您粘贴的可能就是攻击者的地址。
Added at 13:43 UTC. The script watches form submissions and every fetch/XHR POST for a card number (Luhn-checked), expiry date and CVV. When it has all three, it sends them to https://1688360.cc/card.php with navigator.sendBeacon. Cards entered in hosted payment iframes (Stripe, Adyen and similar) were out of its reach. Cards typed into a site’s own form fields were not.
该功能于 UTC 13:43 添加。脚本会监控表单提交以及所有的 fetch/XHR POST 请求,以获取卡号(通过 Luhn 算法校验)、有效期和 CVV。一旦获取这三项信息,它就会通过 navigator.sendBeacon 将其发送至 https://1688360.cc/card.php。在托管支付 iframe(如 Stripe、Adyen 等)中输入的卡片信息不在其窃取范围内,但在网站自身表单字段中输入的卡片信息则会受到影响。
When it swaps an address next to wallet or payment wording, it sends the following to https://1688360.cc/hit.php:
当它在钱包或支付相关词汇旁替换地址时,会将以下信息发送至 https://1688360.cc/hit.php:
On iPhones and iPads the script loads boot.js from 5vobauua3ojpklx.icu and eil786npto9u5bq.icu. It reads the iOS version and loads an exploit chain in a hidden iframe:
在 iPhone 和 iPad 上,该脚本会从 5vobauua3ojpklx.icu 和 eil786npto9u5bq.icu 加载 boot.js。它会读取 iOS 版本,并在隐藏的 iframe 中加载漏洞利用链:
The Coruna loader is byte-identical to a sample we analysed in October from a different campaign. The kit’s own comments say iOS 18.7.3 and later, and 26.3 and later, are patched. Pages on iOS 18.6 or earlier reload every 60 seconds to retry the exploit, which is a visible symptom.
Coruna 加载器与我们在 10 月份分析的另一场攻击活动中的样本在字节上完全相同。该工具包的注释显示,iOS 18.7.3 及更高版本以及 26.3 及更高版本已修复此漏洞。iOS 18.6 或更早版本的页面会每 60 秒重新加载一次以重试漏洞利用,这是一个明显的症状。
As of 19:25 UTC on 16 November, the attacker’s wallets had received about $7,040, all within roughly nine hours on the 16th:
截至 11 月 16 日 UTC 19:25,攻击者的钱包已收到约 7,040 美元,全部发生在 16 日大约九小时内:
Funds were swept out at 13:03 to 13:05 UTC. The USDC on Ethereum went to a HitBTC deposit address. The TRON wallet has been in use since March 2026, so this actor was active long before this campaign. We cannot see how many cards or cookies reached 1688360.cc.
资金在 UTC 13:03 至 13:05 之间被转走。以太坊上的 USDC 被转入了一个 HitBTC 充值地址。该 TRON 钱包自 2026 年 3 月起就开始使用,说明该攻击者在此次活动之前早已活跃。我们无法得知有多少卡片信息或 Cookie 被发送到了 1688360.cc。
We fetched 1,611 distinct Optimizely snippets, found mostly through our own crawl data, and checked each one for the malicious code. 188 snippets belonging to 178 organisations were infected. We kept a copy of every infected file, along with its response headers, SHA-256 hash and fetch time as evidence. The real number is likely higher as we could only check snippets we could find in time.
我们抓取了 1,611 个不同的 Optimizely 代码片段(主要通过我们自己的爬虫数据获取),并逐一检查了其中是否含有恶意代码。共有 178 家机构的 188 个代码片段受到感染。我们保留了每个受感染文件的副本,以及其响应头、SHA-256 哈希值和抓取时间作为证据。实际受影响的数量可能更高,因为我们只能检查在有限时间内找到的代码片段。
Ranked by Tranco position within each sector and the status at 21:52 UTC: every snippet except TalkTalk’s had been cleaned.
按各行业 Tranco 排名及 UTC 21:52 的状态排序:除 TalkTalk 外,所有代码片段均已清理完毕。
The earlier webshell.lol wave, through Kissmetrics, StorifyMe and Minute Media, affected other sites and isn’t included above.
早先通过 Kissmetrics、StorifyMe 和 Minute Media 发起的 webshell.lol 攻击波影响了其他网站,未包含在上述统计中。
Every one of these needs only a CSP in Report-Only mode, so nothing on the site breaks:
所有这些网站只需在“仅报告 (Report-Only)”模式下配置 CSP,即可在不破坏网站功能的情况下进行防护:
It’s possible to go even further and deploy a CSP that could actively block these attacks and prevent any data breach happening. The websites affected by this attack weren’t necessarily running vulnerable code of their own, they were loa
我们还可以更进一步,部署能够主动拦截此类攻击并防止任何数据泄露的 CSP。受此次攻击影响的网站并不一定运行了自身存在漏洞的代码,它们只是加载了……