Actively exploited vulnerability / CVE-2020-12271
Sophos XG Firewall: attackers can take control and steal login accounts
This flaw lets an attacker on the internet run their own code on the firewall and copy the usernames and hashed passwords of administrators and remote access accounts. With these, an attacker may try to get into your company network. It is on the lists of vulnerabilities used in real attacks kept by both CISA (the US cybersecurity agency) and ENISA (the EU cybersecurity agency).
- Identifier
- CVE-2020-12271 · EUVD-2020-4584
- Severity
- Critical (9.8/10)
- On the CISA list (US)
- yes, since 3 November 2021
- Deadline given to US federal agencies
- 3 May 2022
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 43.1% (FIRST's estimate for the next 30 days)
Does it concern you?
Sophos XG Firewall is a device that protects a company network and gives staff remote access. Devices whose administration interface or User Portal can be reached from the internet are the ones at risk.
The SFOS version is shown in the firewall's administration interface, or you can ask whoever manages it. SFOS versions 17.0, 17.1, 17.5 and 18.0 without the update from 25 April 2020 or later are affected.
Affected products and versions
- Sophos SFOS
What to do
Apply Sophos's updates following the vendor's instructions. It is also wise to change administrator and remote access passwords afterwards and to keep the administration interface off the internet.
The official description
The text below is the description from the public database.
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)
Sources
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.