Blocking Trojan orders in Magento 2 with Firecheckout 1.33.3

Blocking Trojan orders in Magento 2 with Firecheckout 1.33.3

Securing your Magento store against online threats is critical—and yes, it is possible. With robust solutions like the latest Magento patches and specialized modules, we’re here to help enhance your Magento 2 security.

This article covers Trojan Order attacks, a persistent security threat in Magento, and how you can block these vulnerabilities effectively. Security is a daily practice, as bad actors continually probe for weaknesses. Staying vigilant and informed is your first line of defense.

TrojanOrder attacks issue

Trojan Order attacks have been a pressing issue for Magento users, particularly over the last two years. The name "Trojan Order" reflects the hidden, malicious code embedded in otherwise legitimate-looking orders. First identified in early 2022, this vulnerability quickly became known as CVE-2022-24086 and exposed a gap in Magento 2’s security.

In recent months, reports of Trojan orders resurfacing have increased. Merchants and Magento support providers often encounter alerts such as "fake order" notifications. Attackers create accounts and place orders using harmful template codes in fields like customer names or VAT IDs. This injected code can install a remote Trojan, maintaining ongoing access to execute further malicious activities, including adding harmful JavaScript to capture sensitive customer data, including credit card information.

Here’s what a TrojanOrders attack looks.

Adobe takes shopping safety very seriously. Try to remember the following information to not be worried about scams whilst selling online this year.

Adobe releases security updates

Adobe prioritizes eCommerce security and released a critical security update in February 2022, specifically to address the Trojan Order vulnerability (CVE-2022-24086). This patch safeguards Magento stores by eliminating the entry point that malicious actors exploited.

Although Magento regularly releases effective patches, it’s essential for merchants to apply updates promptly. Unfortunately, many stores running older and unpatched Magento versions   leave  them exposed. If your Magento store is outdated, it’s time to act and secure your business.

Bot protection module

As you already know, the Magento patch addresses the vulnerability that was being exploited by trojan orders. However, it does not prevent these orders from being placed. So, some merchants keep facing several irrelevant orders in their admin panel.

It is necessary to protect the interface to a greater extent. Such is the case of the Bot protection module.  

We released this solution to detect and eliminate complicated attacks involving Trojan orders, too. This module helps protect your forms from unwanted bots. By default, it secures the checkout process by detecting common hacking terms in request parameters. If a request is blocked, the visitor will be redirected to the previous page with the shown error message stating: "Unable to process the request. Invalid parameter received.”

With the Bot protection module, it is possible to:

  • Choose the URLs to be protected.
  • Block a request if it contains one of the strings listed by you.
  • Block a request if the IP address matches one of the specified lines.
  • Track the blocked request log.

As a Firecheckout user, you can also improve the Magento website protection. We added a bot protection feature to the Firecheckout 1.3.3.3 in September 2024.

The things you have to remember

Keeping your Magento 2 store secure is a thing you should always watch out for. It creates a risk for your brand reputation, drives customers away from your store, and can impact your profits negatively. However, trying anti-fraud solutions is the proven way to improve store protection and overcome trust issues in your business.

That's great news about the possibility of using the patches by Adobe to close security issues. Moreover, the Bot protection module is just in time. It acts around shipping and payment interfaces and helps to block Trojan orders.

Thank you for reading our post. We'd love to know your experience in protecting your Magento sites. Please leave a comment to share your thoughts.

Leave a Reply