JAMP

Journal of Applied Marketing Practice

ecommerceanalytics

Forrester on the Optimizely breach: a marketing experimentation tool served malicious JavaScript

Attackers used a flaw in Optimizely Web Experimentation's signup flow to alter customer Project JavaScript. Forrester advises tiering martech vendors by blast radius, not spend, and adding review for custom JavaScript.

by Thabo Mokoena ·

What happened

In a Forrester analysis, on November 16 it was determined that hackers exploited a vulnerability in the Optimizely Web Experimentation signup process to impersonate administrative users and modify Project JavaScript of customers. They didn't have to obtain passwords for customers or an Optimizely admin account. The modified content was delivered by the content delivery network of the vendor (which wasn't itself hacked) and the malicious scripts were targeting both the input of payment data in web pages, as well as crypto transactions. Optimizely reported as well that the attackers tried a second step exploit on iOS and iPadOS.

Why it matters

Via Optimizely Web Experimentation with no hijacked credentials. The code changes were delivered to sites via the vendor's CDN.

Optimizely also explains through Forrester what helped reduce the impact. They disabled the external skimmer execution path if the site's Content Security Policy (CSP) prevented the skimmer from running. Payment iframes, as Optimizely reports, made it so the skimmer couldn't access card info via hosted payments.

Forrester guidance shifts the way marketing technology gets assessed internally. Forrester instructs CISOs to consider the impact that a vendor product can have when evaluating a vendor's criticality (not just what happens in the event of an outage). It instructs TPRM groups to tier vendors for martech with blast radius, not with spend.

For governance, Forrester suggests that for lower risk tasks (e.g., copy, images, layout, predefined experience variants) marketers should be able to operate on a self service basis. Then add review in for custom JS, adding new domains (external) and/or identity/log in process as well as any change that affects payment or other sensitive data.

They also say the problem isn't isolated to just website scripts. In fact, they cite instances where data breaches occurred at third parties who had marketing and customer engagement data for JPMorgan Chase, Visa, Mastercard, which can happen with a number of different companies at the same time from third-party vendors.

What to do

  1. Audit where the Optimizely snippet loads. Optimizely advised customers to take its snippet off pages that collect sensitive input if they were not running experiments there. List your checkout, login and account pages, and remove the snippet from any page with no live test.
  2. Check your Content Security Policy on those pages. Sites with a CSP that blocked the external skimmer were protected from that execution path, Optimizely reports. Ask engineering whether your policy on those pages would block a script from an unfamiliar external domain.
  3. Confirm how card fields are collected. Hosted payment iframes kept card fields out of the skimmer's reach, according to Optimizely. If your checkout takes card details in ordinary page fields, raise hosted iframes with your payments owner.
  4. Split experiment changes into two lanes. Forrester advises self-service for copy, imagery, layout and predefined variants, with extra review for custom JavaScript, new external domains, identity flows and payment-related changes. Write the rule into your testing playbook and the tool's user permissions.
  5. Re-tier your martech vendors. Forrester advises tiering martech vendors by blast radius, not spend. For each tag on your site, note what it can change on the page as well as what breaks if it goes down, and share the list with your risk team.
  6. Extend the review to data holders. Forrester points to compromised providers holding marketing and customer-engagement data as a second source of exposure. Add your email, engagement and customer-data vendors to the same review.

Sources

More on ecommerce