# CVE-2020-12271: SFOS SQL Injection

- Vendor: Sophos, SFOS
- Severity: CRITICAL (CVSS 3.0 10)
- Exploited (CISA KEV): yes, added 2021-11-03, known ransomware use
- EPSS: 43.1% on 2026-12-02
- Public exploit: not checked
- Patch available: no or unknown
- Vendor advisory: https://community.sophos.com/kb/en-us/135412
- Published: 2020-04-27; updated: 2022-07-10
- Page: https://patchtonight.com/cve/CVE-2020-12271/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| n/a n/a | See the advisory |

## The vendor's 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)

## Sources

- [Sophos advisory](https://community.sophos.com/kb/en-us/135412)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
