Wednesday, February 26, 2025
HomeCVE/vulnerabilityHackers Exploit SQL Injection & Code Execution Zero-day Bugs in Sophos Firewall

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

Published on

SIEM as a Service

Follow Us on Google News

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 Linkedin, Twitter, Facebook for daily Cybersecurity and hacking news updates.

Gurubaran
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.

Latest articles

Google Issues Warning on Phishing Campaigns Targeting Higher Education Institutions

Google, in collaboration with its Mandiant Threat Intelligence team, has issued a warning about...

TgToxic Android Malware Updated it’s Features to Steal Login Credentials

The TgToxic Android malware, initially discovered in July 2022, has undergone significant updates, enhancing...

Hackers Exploiting Cisco Small Business Routers RCE Vulnerability Deploying Webshell

A critical remote code execution (RCE) vulnerability, CVE-2023-20118, affecting Cisco Small Business Routers, has...

Malicious npm Package Targets Developers for Supply Chain Attack

The Socket Research Team has uncovered a malicious npm package@ton-wallet/create designed to steal sensitive...

Supply Chain Attack Prevention

Free Webinar - Supply Chain Attack Prevention

Recent attacks like Polyfill[.]io show how compromised third-party components become backdoors for hackers. PCI DSS 4.0’s Requirement 6.4.3 mandates stricter browser script controls, while Requirement 12.8 focuses on securing third-party providers.

Join Vivekanand Gopalan (VP of Products – Indusface) and Phani Deepak Akella (VP of Marketing – Indusface) as they break down these compliance requirements and share strategies to protect your applications from supply chain attacks.

Discussion points

Meeting PCI DSS 4.0 mandates.
Blocking malicious components and unauthorized JavaScript execution.
PIdentifying attack surfaces from third-party dependencies.
Preventing man-in-the-browser attacks with proactive monitoring.

More like this

Google Issues Warning on Phishing Campaigns Targeting Higher Education Institutions

Google, in collaboration with its Mandiant Threat Intelligence team, has issued a warning about...

TgToxic Android Malware Updated it’s Features to Steal Login Credentials

The TgToxic Android malware, initially discovered in July 2022, has undergone significant updates, enhancing...

Hackers Exploiting Cisco Small Business Routers RCE Vulnerability Deploying Webshell

A critical remote code execution (RCE) vulnerability, CVE-2023-20118, affecting Cisco Small Business Routers, has...