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 2 min read
website-being-used-image-cover

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 not just compromised — its infrastructure is 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 underscores why teams need behaviour-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