A zero-day vulnerability dubbed “StyleSmuggler” affecting all versions of Magento and Adobe Commerce is being exploited in attacks to deploy a backdoor. The first exploitation incident was recorded on September 4 on a target running the latest security updates. E-commerce security company Sansec says that Adobe Enterprise Support confirmed earlier today that it was working on a fix but did not provide a timeline for its release. Magento is a popular open-source e-commerce platform by Adobe installed on more than 160,000 websites, including 14,000 of the top 1 million sites. The exploit Sansec observed in the wild abuses Magento’s template system through PHP code injection to generate a fake “failed-payment” email, which triggers code execution. Successful exploitation installs a small Rust-based backdoor as a background process, disguised as [kworker/u:8:0]. Newer versions disguise the process as fc-cache and copy it to ~/.cache/fontconfig/fc-cache. According to Sansec researchers, the attacker also adds a cron job configured to repeat every 30 minutes for persistence. Although Sansec did not observe any follow-on activity, the malware can communicate with remote infrastructure and receive commands. The researchers note that earlier samples of the backdoor used TLS/WebSockets to communicate with the command-and-control (C2) address, while newer versions disguise their traffic as Network Time Protocol (NTP). They send UDP packets to port 123 and use hostnames that resemble ti...
Magento StyleSmuggler zero-day exploited to deploy Linux backdoor
Affected Software
Frequently Asked Questions
Which Magento and Adobe Commerce deployments are affected?
The zero-day affects all versions of Magento and Adobe Commerce. The first observed incident targeted a deployment running the latest security updates.
How does the observed exploit execute code?
Sansec observed attackers abusing Magento’s template system through PHP code injection. The exploit generates a fake “failed-payment” email that triggers code execution.
What persistence and evasion techniques does the installed backdoor use?
The Rust-based backdoor runs in the background disguised as [kworker/u:8:0], while newer versions use the name fc-cache and copy themselves to ~/.cache/fontconfig/fc-cache. Attackers also add a cron job that runs every 30 minutes for persistence.
Is a vendor fix available?
Adobe Enterprise Support confirmed that it was working on a fix, but did not provide a release timeline.
What post-compromise activity has been confirmed?
Sansec did not observe follow-on activity after installation. However, the malware can communicate with remote infrastructure.