Cybersecurity company Volexity published a report about the Chinese state-sponsored threat actor which has been using a zero-day vulnerability in Sophos Firewall weeks before a fix was released.
According to Volexity researchers, on March 8, 2022, they spotted abnormal activity engaged with a customer's Sophos Firewall. The researchers analyzed files and disk images of the firewall and discovered a backdoor. Based on the analyzed data, the exploitation of a zero-day vulnerability in the customer’s Sophos Firewall was dating back to March 5, 2022, three weeks before the patch was released.
On March 25, Sophos published an advisory which described a critical remote code execution vulnerability in its firewalls (CVE-2022-1040). Volexity believes that this is the same vulnerability exploited to breach its customer’s network at the beginning of March, because at the time this firewall was up to date. The researchers attribute this attack to a Chinese APT group tracked as DriftingCloud.
DriftingCloud used the access to the firewall to conduct man-in-the-middle attack in the victim’s network. Using webshell backdoors and malware, the hackers collected data during this attack and used it to compromise additional systems outside the firewall’s network.
DriftingCloud even tried to blend malicious traffic by accessing the installed webshell through requests to the legitimate file "login.jsp." At the first glance, it looked like a brute-force login attempt, but in reality it was an interaction with a backdoor.
The flaw (CVE-2022-1040) is an authentication bypass vulnerability that affects the User Portal and Webadmin of Sophos Firewall. The remote attackers can use it to execute arbitrary code on a vulnerable system.