CVE-2020-12271

Sophos SFOS SQL Injection Vulnerability

  • Critical 10.0
  • Exploited: added to CISA KEV 3 Nov 2021
  • Used in ransomware campaigns

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)

Key facts

Published
27 Apr 2020
Last changed
21 Oct 2025
Assigned by
mitre
KEV added
3 Nov 2021
KEV fix due
3 May 2022
Used in ransomware
Yes, according to CISA
EPSS
43.062% likely to be exploited in the next 30 days, higher than 98.743% of CVEs (scores for 15 Nov 2026)
SSVC (CISA)
Exploitation: active; Automatable: yes; Technical impact: total

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 10.0CVSS 3.0, Criticalfrom the CNA (mitre)CVSS:3.0/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N

What to do

  • Apply updates per vendor instructions.CISA KEV required action

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
n/an/a
  • n/a (affected)

Timeline

  1. 27 Apr 2020 Published
  2. 3 Nov 2021 CVE-2020-12271 added to CISA KEV
  3. 3 Nov 2021 Added to the CISA KEV catalogue

Weakness

Practice this bug class

HackZoneLabs has a hands-on lab on SQL injection (CWE-89).

References