Magento Sites Hacked via Helpdesk Widget (infecting stores with card stealer malware)

LASER_oneXM

Level 37
Thread author
Verified
Top Poster
Well-known
Feb 4, 2016
2,520
Hackers are actively targeting Magento sites running a popular helpdesk extension, Dutch security researcher Willem de Groot has discovered.

The avenue for these attacks is a Magento extension named Mirasvit Helpdesk, which allows sites to show a "Chat with us" widget on Magento shops.

In September 2017, Hungarian security firm WebShield published details about two vulnerabilities affecting the Mirasvit Helpdesk extension.

Experts warned that all versions of the Mirasvit Helpdesk extension released up to that point (until version 1.5.2) were vulnerable to these two flaws.

The first allowed attackers to upload files to the underlying Magento servers (CVE-2017-14320), while the second was a banal cross-site scripting (XSS) issue (CVE-2017-14321).

Chat widget used to infect stores with card stealer malware
Today, de Groot published the findings of his investigation of a hacked Magento store, and the security expert claims that hackers used the second flaw to breach Magento sites.

According to de Groot, attackers sent benign messages through the Mirasvit Helpdesk widget. The attacker entered malicious code containing the XSS payload in the chat window displayed on Magento stores, and the message was stored in the Magento database.

When support staff checked the recent messages in the store's backend, the malicious message was displayed as a benign text that read something like:


Hey, I strongly recommend you to make a redesign! Please contact me if you need a good designer! – knockers@yahoo.com


The malicious code was not visible, but in reality, at the moment the store owner viewed this message, the payload already executed.

De Groot says the XSS payload inserted additional malicious code in the Magento store's footer section. This code would execute on all of the store's pages, and its role was to collect payment card data from the store's checkout process.
 
  • Like
Reactions: harlan4096

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top