Magecart Attempted Supply Chain Attack Against Shopper Approved

RiskIQ has identified yet another attack by the Magecart group against Shopper Approved, third-party provider of reviews and other services to larger e-commerce sites.

Scott Ferguson, Managing Editor, Light Reading

October 10, 2018

3 Min Read

Magecart, which is suspected of several recent attacks against Ticketmaster, British Airways and other firms, is at it again. This time, the group targeted a site called Shopper Approved, which provides third-party product reviews and other services to larger e-commerce companies.

RiskIQ, which has helped document some of these attacks, noticed malicious code that had been implanted on the Shopper Approved site on September 15. The security firm was then able to notify the site before the attack was able to spread beyond a few days.

As with some of the previous malicious activity associated with Magecart, it appears this attack was designed to skim credit card information from online shoppers. Instead of targeting one of the large e-commerce sites directly, Magecart adds code to a third-party provider site in an attempt to target as many online shoppers and their data as possible.

\r\n(Source: Shopper Approved via Twitter)\r\n


\r\n(Source: Shopper Approved via Twitter)\r\n

Over the last several months, researchers at Symantec have noticed an increase in formjacking attempts, which appears to be directly related to the Magecart group, which has been extremely active since the middle of summer, first with Ticketmaster and then moving to other victims. (See Magecart Group Likely Behind Increase in Formjacking Attacks.)

While Magecart has been around in some form since 2015, these new types of "supply chain" attacks kicked into high gear a few months ago when the group targeted Ticketmaster and some its third-party suppliers. (See Magecart Group Seen as Hidden Hand Behind Ticketmaster Attack.)

The attackers have also been tied into a breach at British Airways, as well as Newegg. (See British Airways Already Facing Lawsuits Following Data Breach.)

In an October 9 blog post, RiskIQ researchers document the latest attack against Shopper Approved, which involved skimmer code injected into a part of their website infrastructure called: https://shopperapproved.com/seals/certificate.js.

This part of the Shopper Approved site is what interacts with the company's e-commerce partners. Once the code is implanted, data such as credit card information can be sent back to Magecart's servers.

However, RiskIQ noticed a mistake when they first began investigating the incident. It appears the group changed the code once, and then went back and updated it again, which gave researchers a reference point since the original code was not obfuscated the first time.

"They forgot to obfuscate their skimmer the first time, a small mistake, but it allowed us to view the clean skimmer code, which is a good reference point," according to the post.

RiskIQ and Shopper Approved were able to remove the code within two days before it could spread too far.

In addition to examining the skimmer code, RiskIQ noted that e-commerce sites, along with their third-party partners, need to examine their use of content delivery network services or CDNs, which are used for caching. On several occasions, the skimmer code is cached within the CDN even if the victim sites perform a code clean-up.

"While initial attacks involved low-tier Magento stores, later attacks targeted CDNs to increase their reach. Now, Magecart operatives have learned to tune the CDNs they compromise to ensure that the only sites they hit are online stores. To achieve their goals, they will go after any analytics company, CDN, or any service supplying functionality to e-commerce websites," according to RiskIQ.

Related posts:

— Scott Ferguson is the managing editor of Light Reading and the editor of Security Now. Follow him on Twitter @sferguson_LR.

Read more about:

Security Now

About the Author(s)

Scott Ferguson

Managing Editor, Light Reading

Prior to joining Enterprise Cloud News, he was director of audience development for InformationWeek, where he oversaw the publications' newsletters, editorial content, email and content marketing initiatives. Before that, he served as editor-in-chief of eWEEK, overseeing both the website and the print edition of the magazine. For more than a decade, Scott has covered the IT enterprise industry with a focus on cloud computing, datacenter technologies, virtualization, IoT and microprocessors, as well as PCs and mobile. Before covering tech, he was a staff writer at the Asbury Park Press and the Herald News, both located in New Jersey. Scott has degrees in journalism and history from William Paterson University, and is based in Greater New York.

Keep up with the latest cybersecurity threats, newly discovered vulnerabilities, data breach information, and emerging trends. Delivered daily or weekly right to your email inbox.

You May Also Like


More Insights