CVE-2020-12271
Exploited in the wild. In CISA KEV since 2021‑11‑03. A vendor fix is available.
What to do
The vendor has published a fix. Version details are below where the sources state them.
Steps
Written by AI from the record- Check whether your Sophos XG Firewall (SFOS) is publicly reachable from the internet on either the Administration (HTTPS) service or the User Portal, specifically from the WAN side.
- Check your currently installed SFOS version.
- If the affected configuration is exposed externally and your SFOS version is before the vendor’s fixed release, upgrade according to Sophos’ remediation instructions in the KB for CVE-2020-12271.
- After upgrading, verify the WAN-exposed Admin/Portal interfaces are either no longer publicly reachable or are restricted per Sophos guidance.
- Review firewall/admin access logs for unusual requests around the time of exploitation attempts and confirm remote admin access still works normally.
What it is
From the CVE record
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)
In plain language
Written by AI from the recordCVE-2020-12271 is a serious security flaw in Sophos XG Firewall (SFOS) that can let an attacker take over the device and steal admin/remote-access credentials if the firewall’s admin or user portal is reachable from the internet; if your device exposes those on the WAN and you haven’t applied the vendor fix, you should act.
CVE-2020-12271 is a remote SQL injection in Sophos XG Firewall (SFOS) that is reachable without authentication; attackers can exploit it over the network when the Administration (HTTPS) service or the User Portal is exposed on the WAN zone, leading to remote code execution and credential exfiltration.
If you're affected
- Full device takeover
- Credential theft for admins
- Remote access account compromise
- Service disruption risk
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Listed as exploited in the wild since 2021-11-03.
US federal agencies must remediate by 2022-05-03.
Known use in ransomware campaigns.
Apply updates per vendor instructions.
- Public exploits
1 source with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
42% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 119 days before any public exploit.
- OpenVAS check added
- EPSS band changehigh → moderate
- Public exploit / PoCsource: othernuclei check added
- Patch availablerecord updated
- Added to CISA KEVransomware campaign
- Publishedweakness classified, att&ck mapped
Affected products
And 2 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored 9.8 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Initial AccessT1190Exploit Public-Facing Applicationhigh confidence
Sources
References in the record
- community.sophos.com/kb/en-us/135412
- cwe.mitre.org/data/definitions/89.html
- news.sophos.com/en-us/2020/04/26/asnarok/
And 3 more references. See all after sign-in
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for SFOS, not every advisory. This one: actively exploited.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI