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.

Gurubaran

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

Cisco AnyConnect VPN Server Vulnerability Allows Attackers to Trigger DoS

Cisco has disclosed a significant vulnerability in its AnyConnect VPN Server for Meraki MX and Z Series…

3 hours ago

New Trinda Malware Targets Android Devices by Replacing Phone Numbers During Calls

Kaspersky Lab has uncovered a new version of the Triada Trojan, a sophisticated malware targeting…

3 hours ago

DarkCloud Stealer Uses Weaponized .TAR Archives to Target Organizations and Steal Passwords

A recent cyberattack campaign leveraging the DarkCloud stealer has been identified, targeting Spanish companies and…

3 hours ago

SonicWall Firewall Vulnerability Enables Unauthorized Access

Researchers from Bishop Fox have successfully exploited CVE-2024-53704, an authentication bypass vulnerability that affects SonicWall firewalls.…

3 hours ago

Russian Seashell Blizzard Targets Organizations Using Custom-Built Hacking Tools

Seashell Blizzard, also known as APT44, Sandworm, and Voodoo Bear, has emerged as a sophisticated…

3 hours ago

EvilCorp and RansomHub Collaborate to Launch Worldwide Attacks on Organizations

EvilCorp, a sanctioned Russia-based cybercriminal enterprise, has been observed collaborating with RansomHub, one of the…

3 hours ago