Skip to content
Supply Chain Attack on Magento 2: Compromised Extensions with an Active Backdoor
Mage OS · 6 min read

Supply Chain Attack on Magento 2: Compromised Extensions with an Active Backdoor

In recent days a serious vulnerability has come to light that hit hundreds of Magento 2 stores worldwide, caused by a dormant backdoor introduced in some third-party extensions. It was activated in April 2025, compromising between 500 and 1,000 e-commerce sites, including some well-known names.

🔥 What happened?

Some vendors published updated versions of their modules containing a file called License.php (or LicenseApi.php) that hid a function named adminLoadLicense. This function allowed the execution of arbitrary PHP code via HTTP request, using parameters such as requestKey and dataSign.

The backdoor was dormant for months before being activated, and it went unnoticed by many developers because it was disguised as a simple license check.

🧨 Compromised vendors and modules

Tigren

  • Ajaxsuite
  • Ajaxcart
  • Ajaxlogin
  • Ajaxcompare
  • Ajaxwishlist
  • MultiCOD

Meetanshi

  • ImageClean
  • CookieNotice
  • Flatshipping
  • FacebookChat
  • CurrencySwitcher
  • DeferJS
  • OutofstockNotifier

Magesolution (MGS)

  • Lookbook
  • StoreLocator
  • Brand
  • GDPR
  • Portfolio
  • Popup
  • DeliveryTime
  • ProductTabs
  • Blog

Weltpixel (under investigation)

  • GoogleTagManager

⚠️ Warning: not every module from these vendors is infected, but I recommend a case-by-case check on every installation.

🔐 How to protect yourself

  1. Check whether you use any of the modules listed above.
  2. Search your code for files such as License.php or LicenseApi.php containing suspicious methods (adminLoadLicense, base64_decode, eval, etc.).
  3. Analyze network traffic for anomalous requests to those files.
  4. Use automated tools such as Sansec eComscan to detect any suspicious changes.
  5. Clean up and remove the malicious code if present, or replace the extension with a reliable alternative.
  6. Apply all official security patches, including the one for the recent CVE-2024-20720.

🧩 Useful resources

📌 Takeaways

Once again, this attack shows how important it is to:

  • Rely only on trustworthy vendors with open, verifiable code.
  • Monitor updates for the extensions you have installed.
  • Keep a staging environment where you can test every upgrade before deploying to production.

If you need a check on your Magento 2 project, or you want to migrate away from compromised modules to secure solutions, feel free to get in touch.

You might also like