CVE-2020-12271Sophos SFOS
SQL Injection without Authentication in Sophos SFOS
Critical 9.8 KEVRansomware No auth neededHigh EPSS
Follow: this CVE · Sophos · Sophos SFOS We alert you by email or Slack (account required).
- Priority
- 93
- CVSS 3.1
- 9.8
- EPSS
- 43.1% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- In KEV since
- Nov 3, 2021
- CISA deadline
- May 3, 2022
- Ransomware use
- Confirmed
- Published
- Apr 27, 2020
- Updated
- Jun 17, 2026
- Category
- Operating system · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: active · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
A SQL injection vulnerability was found in Sophos SFOS 17.0, 17.1, 17.5, and 18.0 on XG Firewall devices, exploited in the wild in April 2020. It affects devices with the administration (HTTPS) service or User Portal exposed on the WAN zone, allowing remote code execution and credential exfiltration. CISA confirmed active exploitation.
Show the original NVD text
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)
Exploitation confirmed by 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).
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 17.0, 17.1, 17.5, 18.0
Update SFOS to the patched version after 2020-04-25 per vendor instructions. Restrict access to administration and User Portal services on the WAN zone.
- Apply the vendor's security update for SFOS.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was May 3, 2022.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sophos | sfos | 17.0 |
| sophos | sfos | 17.1 |
| sophos | sfos | 17.5 |
| sophos | sfos | 18.0 |
Official sources
References
Links published by the sources. Open them with care.
- community.sophos.com Vendor Advisory
- cwe.mitre.org Third Party Advisory
- news.sophos.com Exploit Vendor Advisory
- www.cisa.gov US Government Resource