CVEvulnerability
CVE-2020-12271
CISA Known Exploited Vulnerability
Sophos SFOS SQL Injection Vulnerability — Sophos SFOS
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).
- Added to KEV
- 2021-11-03
- Remediation due
- 2022-05-03
- Ransomware use
- Known
- Required action
- Apply updates per vendor instructions.
- Notes
- https://nvd.nist.gov/vuln/detail/CVE-2020-12271
- Status
- Analyzed
- Published
- 2020-04-27
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.0 ([email protected])
- 10.0 CRITICAL — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-89
Description
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)
Affected configurations
• sophos sfos 17.0
• sophos sfos 17.1
• sophos sfos 17.5
• sophos sfos 18.0
Related
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
Referenced by CWE · observed example (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://community.sophos.com/kb/en-us/135412 Vendor Advisory
- https://cwe.mitre.org/data/definitions/89.html Third Party Advisory
- https://news.sophos.com/en-us/2020/04/26/asnarok/ Exploit, Vendor Advisory
- https://community.sophos.com/kb/en-us/135412 Vendor Advisory
- https://cwe.mitre.org/data/definitions/89.html Third Party Advisory
- https://news.sophos.com/en-us/2020/04/26/asnarok/ Exploit, Vendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-12271 US Government Resource