CVE-2020-12271: Sophos SFOS SQL Injection Vulnerability

In short

CVE-2020-12271 is a vulnerability in Sophos SFOS that attackers are exploiting. 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… CISA added it to its Known Exploited Vulnerabilities catalog on 3 Nov 2021, and US federal agencies had to fix it by 3 May 2022. It is known to be used in ransomware campaigns.

What is CVE-2020-12271?

CISA describes it as: 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).

Weakness: CWE-89.

Is CVE-2020-12271 being exploited?

Yes. CISA adds a vulnerability to the catalog only when it has evidence of exploitation in the wild, and it added CVE-2020-12271 on . It is known to be used in ransomware campaigns.

FIRST's EPSS model puts the chance of exploitation in the next 30 days at 43%, higher than 99% of scored CVEs (as of 29 Nov 2026).

How severe is CVE-2020-12271?

NVD scores it 9.8 (critical) on CVSS 3.1. CVSS measures how bad a flaw is; EPSS and the KEV listing say how likely it is to be used.

How do you fix CVE-2020-12271?

CISA's required action: Apply updates per vendor instructions.

US federal agencies had until . For everyone else that date is a ceiling, not a target.

Which versions are affected?

CISA's catalog does not list version numbers. The vendor advisory and the NVD record list the affected and fixed versions.

Sources

  1. CISA Known Exploited Vulnerabilities catalog: CVE-2020-12271
  2. NIST National Vulnerability Database: CVE-2020-12271
  3. CVE record
  4. FIRST Exploit Prediction Scoring System (EPSS)

Data last updated · Compiled by Rokkhe Research from CISA, FIRST and NVD. This page uses the NVD API and is not endorsed or certified by the NVD.

Put your attack surface on the record.

Agree the scope, see a real finding, leave with a quote.

Scope approved first. Evidence with every finding.