CVE-2020-12271
Sophos SFOS SQL Injection Vulnerability
- Actively exploited
- Used by ransomware
- Critical · 9.8 of 10
- Exploited since
- 3 Nov 2021 added to the CISA list
- Chance of attacks
- 43% in the next 30 days (FIRST EPSS)
- Fix deadline
- 3 May 2022 for US federal agencies
- Published
- 27 Apr 2020 in the NVD
What this means
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).
CISA
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)
NIST National Vulnerability Database
What to do
Apply updates per vendor instructions.
CISA's required action. If you use the product, install the vendor's update as soon as possible.
Affected
- n/a n/a
Official sources
- nvd.nist.gov/vuln/detail/CVE-2020-12271
- community.sophos.com/kb/en-us/135412 vendor advisory
- news.sophos.com/en-us/2020/04/26/asnarok/ vendor advisory
- community.sophos.com/kb/en-us/135412 vendor advisory
- news.sophos.com/en-us/2020/04/26/asnarok/ vendor advisory
- cwe.mitre.org/data/definitions/89.html
- cwe.mitre.org/data/definitions/89.html
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-12271
Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.