A newly discovered web skimming campaign running for the past year has already compromised over 40 e-commerce sites, according to Jscrambler.
The JavaScript protection vendor revealed that āGroup X,ā which exfiltrated card data to a server in Russia, used a novel supply-chain technique to compromise its victims.
āThe cyber-criminals exploited a third-party JavaScript library called Cockpit, a free web marketing and analytics service that was discontinued in December 2014,ā it wrote.
āThey acquired the domain name that hosted the library and used it to serve a skimming script via the same URL. By re-registering the defunct domain and configuring it to distribute malicious code, the attackers were able to compromise over 40 e-commerce websites.ā
The vendor said itās not uncommon for web owners to fail to remove deprecated libraries like this from their sites, leading to dead links that can be compromised. The problem lies with a lack of insight into third-party code and poor security practices, it added.
āMost security teams donāt have visibility into this third-party code running on their website; they donāt know if itās behaving as it should or misbehaving ā whether accidentally or maliciously,ā Jscrambler argued.
āThis security blind spot can create a false sense of confidence in your assessment of risk; itās hard to measure what you canāt see.ā
However, the vendor also admitted that some of the compromised sites may have been impacted due to the content management system or website generator service they were using, which automatically injected the third-party script into their pages. In that scenario, they may have been unable to remove the library from their site due to restricted permissions orĀ lack of knowledge, it said.
In fact, one of the impacted sites posted a notice on their payment page warning users of the skimmer, rather than removing it.
Jscrambler also found two other web skimming groups. One, dubbed āGroup Y,ā used a similar skimmer to Group X but attacked websites directly with the aim of injecting a script into their homepage. The third, āGroup Z,ā apparently used a slightly modified script and server structure in its attacks.
Source: Read More