CVE-2020-12271 · Known exploited vulnerability

CVE-2020-12271: Sophos SFOS SQL Injection

Actively exploited (CISA KEV)Ransomware use: Known

Summary

CVE-2020-12271 is a SQL injection vulnerability in Sophos SFOS, rated critical severity with a CVSS base score of 9.8.

CISA added it to the Known Exploited Vulnerabilities catalogue on 3 November 2021, which means there is reliable evidence that attackers have exploited it and it is known to have been used in ransomware campaigns.

It can be exploited remotely over a network without needing an account.

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).
CISA catalogue description

Key facts

Affected product
Sophos · SFOS
CVSS severity
Critical9.8CVSS v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (exploitation likelihood, next 30 days)
43.06%Higher than 98.7% of all scored CVEs
Weakness (CWE)
CWE-89
Added to CISA KEV
CISA due date (US federal agencies)
First published (NVD)
NVD status
Analyzed

CISA required action

Apply updates per vendor instructions.

What UK organisations should do

01 Patch or mitigate

  • Follow the vendor's advisory. Where no fix is available, apply the published mitigations or take the affected component offline.
  • CISA's required action: Apply updates per vendor instructions. CISA set a remediation due date of 3 May 2022 for US federal agencies; treat it as an indication of urgency rather than a deadline you can wait for.
  • If you cannot patch straight away, record the risk decision, limit access to the affected service and set a review date.

02 Check your exposure

  • Confirm whether you run Sophos SFOS anywhere, including systems managed by suppliers or cloud providers.
  • Check whether management interfaces or web front ends for the product are reachable from the internet, and restrict them to trusted networks or a VPN.
  • Because this vulnerability is known to be exploited, check affected systems for signs of compromise before and after patching, not just for the missing update.

03 Monitor and respond

  • Alert on unexpected child processes, new scheduled tasks, outbound connections and web shells on affected hosts.
  • If you find signs of compromise, follow your incident response plan. UK organisations can report significant incidents to the National Cyber Security Centre (NCSC), and personal data breaches may need to be reported to the ICO within 72 hours.

More from Sophos

  • CVE-2020-29574

    CyberoamOS

    (CROS) SQL Injection

    RansomwareCritical9.8
  • CVE-2020-15069

    XG Firewall

    Buffer Overflow

    Critical9.8
  • CVE-2023-1671

    Web Appliance

    Command Injection

    Critical9.8
  • CVE-2022-3236

    Firewall

    Code Injection

    Critical9.8
  • CVE-2022-1040

    Firewall

    Authentication Bypass

    Critical9.8
  • CVE-2020-25223

    SG UTM

    Remote Code Execution

    Critical9.8
All 7 Sophos vulnerabilities

Same weakness (CWE-89) in other products

  • CVE-2026-114625

    Arista · VeloCloud Orchestrator

    SQL Injection

    Critical9.9
  • CVE-2026-76461

    Cisco · Secure Email Gateway

    SQL Injection

    Critical9.8
  • CVE-2026-9586

    Sangoma · Switchvox

    SQL Injection

    Critical9.8
  • CVE-2026-72898

    Metabase · Metabase

    SQL Injection

    Critical10.0
  • CVE-2026-60137

    WordPress · Core

    SQL Injection

    Medium5.9
  • CVE-2026-9082

    Drupal · Core

    SQL Injection

    Critical9.8

Sources and references

Last updated . Summary and guidance are generated from CISA, NVD and FIRST data; always confirm details in the vendor advisory.