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

Data Privacy: How the Growing Field of Regulations Impacts Businesses

The proposed rules over artificial intelligence (AI) in the European Union (EU) are a harbinger of things to come. Data privacy laws are becoming more complex and growing in number and relevance. So, businesses that seek to become — and stay — compliant must find a solution that can do more than just respond to current challenges. Take a look at upcoming trends when it comes to data privacy regulations and how to follow them. Today's AI Solutions On April…

Why Zero Trust Works When Everything Else Doesn’t

The zero trust security model is proving to be one of the most effective cybersecurity approaches ever conceived. Zero trust — also called zero trust architecture (ZTA), zero trust network architecture (ZTNA) and perimeter-less security — takes a "default deny" security posture. All people and devices must prove explicit permission to use each network resource each time they use that resource. Using microsegmentation and least privileged access principles, zero trust not only prevents breaches but also stymies lateral movement should a breach…

5 Golden Rules of Threat Hunting

When a breach is uncovered, the operational cadence includes threat detection, quarantine and termination. While all stages can occur within the first hour of discovery, in some cases, that's already too late.Security operations center (SOC) teams monitor and hunt new threats continuously. To ward off the most advanced threats, security teams proactively hunt for ones that evade the dashboards of their security solutions.However, advanced threat actors have learned to blend in with their target's environment, remaining unnoticed for prolonged periods. Based…

Third-Party App Stores Could Be a Red Flag for iOS Security

Even Apple can’t escape change forever. The famously restrictive company will allow third-party app stores for iOS devices, along with allowing users to “sideload” software directly. Spurring the move is the European Union’s (EU) Digital Markets Act (DMA), which looks to ensure open markets by reducing the ability of digital “gatekeepers” to restrict content on devices. While this is good news for app creators and end-users, there is a potential red flag: security. Here’s what the compliance-driven change means for…