CVE-2020-12271: Sophos SFOS SQL Injection Vulnerability

Published Apr 27, 2020
·
Updated

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)

Other sources

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

CISA

Affected Software

11 affected components
Sophos SFOS
Sophos SFOS=17.0
Sophos SFOS=17.1
Sophos SFOS=17.5
Sophos SFOS=18.0
Sophos XG Firewall
All of the following
Any of the following
Sophos SFOS=17.0
Sophos SFOS=17.1
Sophos SFOS=17.5
Sophos SFOS=18.0
Sophos XG Firewall

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Sophos XG Firewall (SFOS) to a version that resolves this vulnerability.

    Fixed in 2020-04-25
  2. Configuration

    Ensure the administration (HTTPS) service is not exposed on the WAN zone to prevent SQL injection exploitation.

    Sophos Firewall (SFOS) administration (HTTPS) service exposed_on_WAN_zone = false
  3. Configuration

    Ensure the User Portal is not exposed on the WAN zone to prevent SQL injection exploitation.

    Sophos Firewall (SFOS) User Portal exposed_on_WAN_zone = false
  4. Operational

    If the device may have been exploited, review local device admin(s), portal admins, and remote-access user accounts because usernames and hashed passwords may have been exfiltrated; rotate/reset the affected credentials as needed.

Event History

Apr 27, 2020
CVE Published
via MITRE·04:00 AM
Data Sourced
via MITRE·04:00 AM
DescriptionSeverity
Data Sourced
via NVD·04:15 AM
DescriptionSeverityWeaknessAffected Software
Nov 3, 2021
Known Exploited
via CISA·12:00 AM
Known Ransomware
via CISA·12:00 AM
Dec 10, 2024
News Published
via BleepingComputer·04:37 PM
Dec 11, 2024
News Published
via The Register·05:02 AM
News Published
via The Register·05:06 AM
News Published
via Dark Reading·10:47 PM
Dec 14, 2024
News Published
via BleepingComputer·04:39 PM
Dec 20, 2024
News Published
via Dark Reading·12:01 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2020-12271?

The severity of CVE-2020-12271 is critical with a CVSS score of 9.8.

2

Which software versions are affected by CVE-2020-12271?

SFOS versions 17.0, 17.1, 17.5, and 18.0 are affected by CVE-2020-12271.

3

How can I fix the Sophos SFOS SQL Injection Vulnerability (CVE-2020-12271)?

To fix the Sophos SFOS SQL Injection Vulnerability (CVE-2020-12271), update to a patched version provided by Sophos.

4

Where can I find more information about CVE-2020-12271?

You can find more information about CVE-2020-12271 on the Sophos community website, CWE website, and the Sophos news website.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203