Hackers Exploit SQL Injection & Code Execution Zero-day Bugs in Sophos Firewall

Sophos patched a SQL injection flaw with XG Firewall product that exploited by attackers in the wild.

Sophos informed about the bug on April 22, 2020, further analysis revealed that hackers can attack systems with either the administration interface (HTTPS admin service) or the user portal exposed on the WAN zone.

Also, the manually configured firewall that shares the same port as the admin or the User Portal was also affected.

Sophos XG Firewall

An attacker could exploit a pre-auth SQL injection vulnerability to gain access to XG firewall devices, by using the SQL injection flaw an attacker can download a malicious file on the device.

Using the malicious code an attacker can exfiltrate usernames and hashed passwords of any local user accounts.

“This includes local device admins, user portal accounts, and accounts used for remote access. Passwords associated with external authentication systems such as Active Directory (AD) or LDAP was not compromised.”

Sophos said that there is no indication that the attacker can access the local network beyond the XG Firewall devices, reads blog posts.

After determining the components and impact of the attack, Sophos deployed a hotfix to all supported XG Firewall/SFOS versions.

This hotfix is aimed to eliminate the SQL injection vulnerability which prevented further exploitation, that stopped the XG Firewall from accessing any attacker infrastructure and cleaned up any remnants from the attack.

Users are recommended to apply the hotfix that eliminates the SQL injection vulnerability, for compromised devices it is recommended reset the passwords for all local user accounts.

Hotfix

“While customers should always conduct their own internal investigation, at this point Sophos is not aware of any subsequent remote access attempts to impacted XG devices using the stolen credentials,” reads Sophos blog post.

The vulnerability affects all versions of Sophos XG Firewall firmware on both physical and virtual firewalls, Sophos supplied hotfix (SFOS 17.0, 17.1, 17.5, 18.0), customers with older versions are recommended to upgrade with the supported version.

You can follow us on LinkedinTwitterFacebook for daily Cybersecurity and hacking news updates.

Guru baran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Recent Posts

Ex-Cybersecurity Consultant Jailed For Trading Confidential Data

Vincent Cannady, a professional who used to work as a consultant in the cybersecurity field, has been taken into custody…

17 hours ago

Mal.Metrica Malware Hijacks 17,000+ WordPress Sites

Infected websites mimic legitimate human verification prompts (CAPTCHAs) to trick users, who often request seemingly innocuous clicks, resembling past CAPTCHA…

1 day ago

Hackers Exploit Microsoft Graph API For C&C Communications

An emerging threat leverages Microsoft's Graph API to facilitate command-and-control (C&C) communications through Microsoft cloud services.  Recently, security analysts at…

1 day ago

ApacheMQ Authentication Flaw Let Unauthorized Users Perform Multiple Actions

Apache ActiveMQ is a Java based communication management tool for communicating with multiple components in a server. It is an…

1 day ago

68% of Data Breach Occurs Due to Social Engineering Attacks

In the latest edition of Verizon's Data Breach Investigations Report (DBIR) for 2024, a concerning trend has been highlighted, a…

1 day ago

U.S. Govt Warns of Massive Social Engineering Attack from North Korean Hackers

The United States government has issued a stark warning about a new wave of social engineering attacks orchestrated by North…

2 days ago