Skip to content

Sophos · SFOS

CVE-2020-12271

Sophos SFOS SQL Injection Vulnerability

Actively exploitedKnown use in ransomwareAdded by CISA 3 November 2021

What it is

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).

Am I affected?

Only if you run Sophos SFOS, or a service built on it, in a version the vendor lists as affected. The vendor's advisory in the references gives the affected and fixed versions.

CISA adds a vulnerability to this list only when there is reliable evidence of attacks using it, so treat it as urgent if you run an affected version, especially as ransomware groups are known to use it.

What to do

  1. Find out whether you run SFOS, and which version, including on hosting or services you don't manage day to day.
  2. Apply the vendor's update or mitigation from the advisory below. If there is none yet, follow the vendor's workaround, or take the product off the internet until it's fixed.
  3. Because this is being exploited, check the system for signs it was already compromised before you patched: unknown accounts, changed files, and unusual outbound connections.

CISA's required action

Apply updates per vendor instructions.

US federal agencies must act by 3 May 2022.

References

Check your own site

A free scan checks your site's HTTPS, headers, cookies, exposed keys and malware signs, with the fix for each issue.

Scan a website