Sophos · SFOS
CVE-2020-12271
Sophos SFOS SQL Injection Vulnerability
What it is
A SQL injection issue was found in SFOS 17.0, 17.1, 17.5, and 18.0 before 2020-04-25 on Sophos XG Firewall devices, as exploited in the wild in April 2020. This affected devices configured with either the administration (HTTPS) service or the User Portal exposed on the WAN zone. A successful attack may have caused remote code execution that exfiltrated usernames and hashed passwords for the local device admin(s), portal admins, and user accounts used for remote access (but not external Active Directory or LDAP passwords)
CISA: Sophos Firewall operating system (SFOS) firmware contains a SQL injection vulnerability when configured with either the administration (HTTPS) service or the User Portal is exposed on the WAN zone. Successful exploitation may cause remote code execution to exfiltrate usernames and hashed passwords for the local device admin(s), portal admins, and user accounts used for remote access (but not external Active Directory or LDAP passwords).
What to do
Apply updates per vendor instructions.
Deadline for US federal agencies: May 3, 2022
More exploited flaws from Sophos
| Added | Vulnerability | Product | Severity | Attack chance |
|---|---|---|---|---|
| Feb 6, 2025 | Buffer Overflow | XG Firewall | Critical 9.8 | 11% |
| Feb 6, 2025 | (CROS) SQL Injection | CyberoamOS | Critical 9.8 | 4.7% |
| Nov 16, 2023 | Command Injection | Web Appliance | Critical 9.8 | >99.9% |
| Sep 23, 2022 | Code Injection | Firewall | Critical 9.8 | 99% |
| Mar 31, 2022 | Authentication Bypass | Firewall | Critical 9.8 | 99.8% |
| Mar 25, 2022 | Remote Code Execution | SG UTM | Critical 9.8 | 97% |
Sources: Known Exploited Vulnerabilities (CISA, public domain), CVE records (cve.org) and EPSS (FIRST). The chance of attacks is the EPSS estimate that someone will try to exploit the flaw in the next 30 days.