CVE-2020-12271
CVE-2020-12271 — Sophos SFOS SQL Injection Vulnerability
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)
Published Updated Sources: NVD, CISA, FIRST EPSS, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Nov 3, 2021
EPSS
43%
ahead of 99.0% of scored CVEs
CVSS base
9.8
critical · 3 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade Sfos to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
CISA required action
Apply updates per vendor instructions.
Federal deadline May 3, 2022 — passed 1,676 days ago
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Sophos | sfos | 17.0 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | critical | 3.9 | 5.9 | NVD |
| 10.0 | CVSS 3.0 | critical | 3.9 | 6 | MITRE (CNA) |
| 7.5 | CVSS 2.0 | high | 10 | 6.4 | NVD |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- Read Application Data
- Bypass Protection Mechanism
- Modify Application Data
Mitigation: Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, consider using persistence layers such as Hibernate or Enterprise Java Beans, which can provide significant protection against SQL injection if used properly.
Weakness & attack patterns
- CWE-89SQL Injection
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Nov 3, 2021
Federal deadline
May 3, 2022
passed 1,676 days ago
Ransomware use
Known
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
6
3 of the 5 sampled are weaponized
Exploit entries
5
Exploit-DB and CTI exploit indexes
Malware
Families a CTI source ties to this CVE. One named, with the total it tracks.
Families tracked
3
Named
cloud_snooper
cloud_snooper, elf.cloud_snooper
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Sfos.
- Monitor for scanner or exploit-pattern traffic after 11 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 9.8 (AV:N)
Jun 17, 2026 · NVD
- 2025
Bulletin released on Mitre.
Feb 5, 2025 · SOCRadar CTI
- 2023
CVE is exploited. "Ostorlab/KEV"
Dec 26, 2023 · SOCRadar CTI
CVE is exploited. "Ostorlab/known_exploited_vulnerbilities_detectors"
Dec 14, 2023 · SOCRadar CTI
CVE is exploited. "Sophos SFOS SQL Injection Vulnerability"
May 26, 2023 · SOCRadar CTI
- 2022
Bulletin released on NIST.
Jul 11, 2022 · SOCRadar CTI
- 2021
Added to CISA KEV catalog
Nov 3, 2021 · CISA
- 2020
Initial · CVE published
Apr 27, 2020 · NVD
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 17×TweetsNov 6, 2024 – Aug 14, 2025 · SOCRadar CTI
- 3×ModifiedOct 5, 2022 – Apr 4, 2025 · SOCRadar CTI
- 2×SvrsOct 13, 2022 – Nov 5, 2024 · SOCRadar CTI
- 1×Github_Repos · Github repository created, d4n-sec/d4n-sec.github.ioFeb 2, 2024 · SOCRadar CTI
References
5 on the record
- community.sophos.com/kb/en-us/135412
Vendor Advisory, NIST, MITRE_REFERENCES
- cwe.mitre.org/data/definitions/89.html
Third Party Advisory, NIST
- news.sophos.com/en-us/2020/04/26/asnarok/
Exploit, Vendor Advisory, NIST, MITRE_REFERENCES
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-12271
US Government Resource
- nvd.nist.gov/vuln/detail/CVE-2020-12271
Vendor Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-72898 Metabase SQL injection via password reset endpointCVSS 10.0 · CISA KEV
- CVE-2026-114625 Security Advisory 0199CVSS 9.9 · CISA KEV
- CVE-2026-76461 Cisco Secure Email Gateway SQL Injection VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-42208 LiteLLM: SQL injection in Proxy API key verificationCVSS 9.8 · CISA KEV
- CVE-2026-21643 Fortinet FortiClient EMS SQL Injection VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-9586 Unauthenticated SQL Injection Leading to Remote Code Execution in Switchvox SMBCVSS 9.8 · CISA KEV
Elsewhere on this site
- Sophosevery CVE for this vendor
- sfosevery page on this product
- November 2021what else CISA listed
- Injectionsame class
- CWE-89other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2020-12271 is Sophos SFOS SQL Injection Vulnerability, a critical vulnerability affecting Sfos from Sophos. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 11 public PoC repositories reported; 3 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 43% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.
