CVE-2020-12271
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)
Severity
CRITICAL
CVSS v3
10.0
CVSS:3.0/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N · source cna
Exploit chance (EPSS)
43.062%
chance of exploitation in the next 30 days
higher than 98.7% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2021-11-03 · known ransomware use
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Sophos SFOS SQL Injection Vulnerability |
|---|---|
| Vendor / product | Sophos / SFOS |
| Date added | 2021-11-03 |
| Federal remediation due date | 2022-05-03 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Known |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-02-04 |
Timeline
- 2020-04-27Published by the CNA04:00 UTC
- 2021-11-03Added to the CISA KEV catalog555 days after publication
- 2025-02-04CISA SSVC decision recorded1744 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| sophos sfos | 17.0no fix listed17.1no fix listed17.5no fix listed18.0no fix listed | not listednot listednot listednot listed |
References
- https://community.sophos.com/kb/en-us/135412
- https://news.sophos.com/en-us/2020/04/26/asnarok/
- https://cwe.mitre.org/data/definitions/89.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-12271
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2020-12271'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2020-12271'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2020-12271'curl 'https://api.contrastcyber.com/cve_products/CVE-2020-12271'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2020-12271'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).