May 21, 2020 By Shane Schick 2 min read

A Magento plugin vulnerability that dates back at least three years could allow e-skimming attacks on unsuspecting online shoppers, the FBI warns.

In an alert sent out earlier this month, the FBI said hackers are using the exploit to take over e-commerce stores powered by Magento software and steal payment card data from customers.

The attacks work by embedding malware into Magento Mass Import, also known as MAGMI. The cross-site scripting bug allows cybercriminals to infect an online store’s HTML code to conduct e-skimming without being noticed.

How Malware Targets MAMGI

Any time someone buys from an e-commerce store using the Magento plugin, hackers can record details of the financial transaction after modifying the site’s PHP and JavaScript files.

The FBI said those who know how to exploit the bug are also planting web shells to allow them access to the same store again. While an e-commerce shop owner might not be aware, the stolen data is sent to the cybercriminals’ command-and-control (C&C) server after it has been encoded in Base64 format and disguised within a JPEG file.

Besides payment card data, the FBI said hackers are able to collect several pieces of personally identifiable information (PII). This includes customers’ names, physical addresses and telephone numbers.

One thing that may affect the scope of the threat is the fact that MAGMI only works with early versions of Magento. Some of these, such as Magento 1.x branch, are scheduled to reach end of life by next month. This means sites running that version won’t continue to receive security updates from the vendor.

End the Opportunity for E-Skimming via MAGMI

The FBI’s recommendations for mitigating the risk of the attacks include updating to more recent versions of Magento and making sure the systems are properly patched and up to date.

E-commerce store owners could also be in a better position to detect an attack by having a managed firewall service that can log potential problems and block unauthorized users.

More from

Hive0137 and AI-supplemented malware distribution

12 min read - IBM X-Force tracks dozens of threat actor groups. One group in particular, tracked by X-Force as Hive0137, has been a highly active malware distributor since at least October 2023. Nominated by X-Force as having the “Most Complex Infection Chain” in a campaign in 2023, Hive0137 campaigns deliver DarkGate, NetSupport, T34-Loader and Pikabot malware payloads, some of which are likely used for initial access in ransomware attacks. The crypters used in the infection chains also suggest a close relationship with former…

Unveiling the latest banking trojan threats in LATAM

9 min read - This post was made possible through the research contributions of Amir Gendler.In our most recent research in the Latin American (LATAM) region, we at IBM Security Lab have observed a surge in campaigns linked with malicious Chrome extensions. These campaigns primarily target Latin America, with a particular emphasis on its financial institutions.In this blog post, we’ll shed light on the group responsible for disseminating this campaign. We’ll delve into the method of web injects and Man in the Browser, and…

Crisis communication: What NOT to do

4 min read - Read the 1st blog in this series, Cybersecurity crisis communication: What to doWhen an organization experiences a cyberattack, tensions are high, customers are concerned and the business is typically not operating at full capacity. Every move you make at this point makes a difference to your company’s future, and even a seemingly small mistake can cause permanent reputational damage.Because of the stress and many moving parts that are involved, businesses often fall short when it comes to communication in a crisis.…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today