LiveActive security incident?Get immediate response
CVE Record

CVE-2020-12271: 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...

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)

CriticalCVSS 10Known exploitedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

CVE-2020-12271 is a critical Sophos XG Firewall flaw that was exploited in April 2020. Attackers targeted internet-exposed administration or User Portal services and may have stolen local firewall and remote-access account usernames and password hashes. External Active Directory or LDAP passwords were not described as exposed.

Executive priority

Treat as urgent for any legacy Sophos XG Firewall exposure. The risk combines critical severity, confirmed exploitation, internet-facing management services, and possible credential theft. Prioritize verification, patch confirmation, exposure reduction, and credential review.

Technical view

The vulnerability is a SQL injection in SFOS 17.0, 17.1, 17.5, and 18.0 before 2020-04-25. Sources report exploitation in the wild and possible remote code execution with credential-hash exfiltration from locally stored device, portal, and remote-access accounts.

Likely exposure

Highest exposure is Sophos XG Firewall devices on affected SFOS versions with HTTPS administration or User Portal reachable from the WAN zone before 2020-04-25. Devices without those services exposed are not described as affected by the cited attack path.

Exploitation context

Active exploitation is supported by the CVE description and CISA KEV listing. The public sources identify April 2020 in-the-wild exploitation, but this bundle does not provide current exploitation telemetry or detailed attacker tooling information.

Researcher notes

Evidence is strong for historical exploitation and affected configuration scope. The bundle does not identify affected CPEs, current exploit activity, or a full patch matrix. Avoid expanding scope beyond SFOS 17.0, 17.1, 17.5, and 18.0 before 2020-04-25.

Mitigation direction

  • Confirm affected devices received Sophos fixes or hotfixes dated 2020-04-25 or later.
  • Follow Sophos advisory guidance for any remaining unsupported or unpatched SFOS deployments.
  • Remove WAN exposure for administration HTTPS and User Portal wherever operationally possible.
  • Reset local firewall, portal admin, and remote-access account credentials if exposure is confirmed.
  • Review vendor guidance before assuming external AD or LDAP password rotation is required.

Validation and detection

  • Inventory Sophos XG Firewall appliances and record SFOS versions and patch status.
  • Check whether administration HTTPS or User Portal was exposed to the WAN zone.
  • Review Sophos advisory indicators and logs for evidence of April 2020 compromise.
  • Verify local accounts and remote-access accounts were reviewed or rotated after remediation.
  • Confirm CISA KEV tracking and internal vulnerability records mark this CVE remediated.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2020-12271 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
10 (3.0)
Known Exploited
Yes
Published

Vector: CVSS:3.0/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CISA KEV status

Status
Known exploited
Source
CISA / ADP
Date added
Not provided

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
10CVSS 3.0CriticalCVSS:3.0/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N3.96Primary CVE score

Vulnerability scoring details

Base CVSS 3.0 score

10Critical
CVSS 3.0 vector shape for CVE-2020-12271Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.0/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-89 · source CWE mapping

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.