CVE-2020-12271
CONFIRMED EXPLOITEDKNOWN RANSOMWARE CAMPAIGN USESophos SFOS SQL Injection Vulnerability
Is Sophos SFOS affected by CVE-2020-12271?
Sophos SFOS is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2020-12271, added on 2021-11-03. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (4 vulnerable CPE entries): sophos sfos.
Published CPE data pins the vulnerable releases as 17.0, 17.1, 17.5 and 18.0. Check the vendor advisory below for the fixed release and for any other affected build.
The CISA remediation deadline for this entry is 2022-05-03, and CISA records known ransomware campaign use against it.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2020-29574Same vendorSophos CyberoamOS
CyberoamOS (CROS) SQL Injection Vulnerability
- CVE-2020-15069Same vendorSophos XG Firewall
Sophos XG Firewall Buffer Overflow Vulnerability
- CVE-2023-1671Same vendorSophos Web Appliance
Sophos Web Appliance Command Injection Vulnerability
- CVE-2022-3236Same vendorSophos Firewall
Sophos Firewall Code Injection Vulnerability
- CVE-2020-11738Neighboring entryWordPress Snap Creek Duplicator Plugin
WordPress Snap Creek Duplicator Plugin File Download Vulnerability
- CVE-2020-12812Neighboring entryFortinet FortiOS
Fortinet FortiOS SSL VPN Improper Authentication Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
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).
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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)
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2021-11-03. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Known".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of SFOS has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- HTTP / web application surface (Sophos SFOS): inspect reverse-proxy, WAF, and application access/error logs alongside `Zeek http.log` and `Suricata eve.json` for anomalous requests targeting exposed endpoints.
- Inventory all hosts running Sophos SFOS and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- https://community.sophos.com/kb/en-us/135412Vendor Advisory
- https://cwe.mitre.org/data/definitions/89.htmlThird Party Advisory
- https://news.sophos.com/en-us/2020/04/26/asnarok/ExploitVendor Advisory
- https://community.sophos.com/kb/en-us/135412Vendor Advisory
- https://cwe.mitre.org/data/definitions/89.htmlThird Party Advisory
- https://news.sophos.com/en-us/2020/04/26/asnarok/ExploitVendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-12271US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
Modern, cryptographically opinionated kernel-space VPN tunnel
Endpoint visibility, digital forensics, and incident response (DFIR) platform