Skip to main content
Blog
Blog Attacks

Kuwait ecommerce site is being used to facilitate client-side skimming attacks

A popular e-commerce site in Kuwait, running an outdated version of Magento (2.4), has been compromised by a malicious JavaScript injection,

Oct 03, 2024 3 min read
website-being-used-image-cover
Table of Contents

TL;DR: Shrwaa Magento CosmicSting overlay-skimmer host infrastructure

  • Victim and host both: The usual skimmer story is one victim losing cards. Shrwaa flips the story: the compromised Magento 2.4 store is both a victim and the hosting infrastructure other campaigns pull their malicious JavaScript from.
  • Fake form, invisible to feeds: The jquery.js overlay on Shrwaa[.]com painted a fake payment form on top of the legitimate Magento checkout, threat feeds still do not flag the domain, and the attack has likely been active since December 2023 via the CosmicSting bug. cside would have blocked the malicious code and alerted the site to remove it.
  • Patch and add behavior: If your ecommerce runs Magento 2.4 without CosmicSting patched, close that gap today. If your team relies on domain reputation lists, add behavior-based detection on the client, because a two-year-old skimmer host is still invisible to threat feeds.

Short on time? See cside's in-browser Magecart and skimmer blocking. It covers everything below in one deployment.

What happened on Shrwaa.com

A popular e-commerce site in Kuwait, running an outdated version of Magento (2.4), has been compromised by a malicious JavaScript injection, exposing customer payment data. The vulnerability, likely linked to the CosmicSting bug in Magento, has been patched, but sites not updated remain at risk.

Compromised Shrwaa Magento storefront still serving customers

Unlike other impacted sites, Shrwaa[.]com is being exploited as infrastructure for additional attacks. A URL scan shows numerous sites referencing Shrwaa[.]com, which hosts multiple malicious JavaScript files:

Directory listing of malicious JavaScript files hosted on shrwaa.com

Since this domain is currently not being flagged by threat feeds (a big issue when it comes to client-side attacks), the attackers use it as infrastructure and to speed up the process of infecting more sites.

urlscan.io results showing many sites referencing shrwaa.com

One file called jquery.js is only loosely obfuscated, giving us insight into how the injection works. This file creates a simple HTML page that tricks users into entering their payment details. These fake pages overlay the legitimate payment forms:

Fake checkout overlay injected on top of Shrwaa's legitimate payment form

Since no 3rd party script monitoring and security practice is in place, this attack remains active, and likely has been active since December of 2023.

Attacks remain common on the Magento platform. These are known as Magecart attacks, and some of the largest incidents have involved similar tactics. For prevention guidance, see our guide to client-side security for eCommerce.

If Shrwaa[.]com had cside in place, it would have blocked the malicious code and alerted the site to remove it. We have notified them and other sites of the attack.

You can protect your website for free by creating a cside account.

Himanshu Anand
Software Engineer

I'm a software engineer and security analyst.

FAQ

Frequently Asked Questions

Shrwaa is compromised, and its infrastructure is now being used to host malicious JavaScript for other attacks. The site overlays fake payment forms on top of legitimate Magento checkouts to steal cards.

Threat feeds still do not flag shrwaa.com. The attack has likely been active since December 2023, which shows why teams need behavior-based detection on the client rather than relying on domain reputation lists.

Monitor and Secure Your Third-Party Scripts

Gain full visibility and control over every script delivered to your users to enhance site security and performance.

Start free, or try Business with a 14-day trial.

cside dashboard interface showing script monitoring and security analytics
Related Articles
Book a demo

Want to walk through this with an engineer?

Thirty minutes, on your own site. Not a slide deck.

We'll show you:

Which third-party scripts are running on your site right now
Where you stand on PCI DSS 6.4.3 and 11.6.1
How much of your traffic is bots and AI agents

Rather just send a question?

Finding open slots…

Real humans only. We'd know.

Having trouble booking? Open scheduler in a new tab

What are you trying to solve?

Tell us in a line and we'll come back with something useful, not a generic pitch.

We usually help with:

Seeing which third-party scripts run on your site
PCI DSS 6.4.3 and 11.6.1 evidence
Bots, AI agents and account takeover

Prefer to just book a time? Pick a slot instead