LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2022-1040: Sophos Firewall Authentication Bypass Vulnerability

RBRecent Breaches Vulnerability Intelligence·Mar 31, 2022
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Apr 21, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2022-1040 to its Known Exploited Vulnerabilities catalog on Mar 31, 2022, with a federal patch deadline of Apr 21, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

An authentication bypass vulnerability in User Portal and Webadmin of Sophos Firewall allows for remote code execution.

CVE-2022-1040 is an authentication bypass vulnerability affecting Sophos Firewall, specifically in the User Portal and Webadmin interfaces. Successful abuse can lead to remote code execution on the device. For IT and security teams, this matters because firewalls sit at the network edge: compromise can give an attacker a foothold to alter security policy, intercept traffic, or move laterally into internal systems.

Public detail is limited to the CISA description and the stated weakness class. Confirm exact affected builds, fixed releases, and any configuration prerequisites directly against the vendor advisory before acting.

How it works

The flaw is classified under CWE-158 and is described as an authentication bypass in the User Portal and Webadmin components of Sophos Firewall. In plain terms, the product fails to enforce authentication correctly for those management or user-facing surfaces, allowing an unauthenticated remote attacker to reach functionality that should require valid credentials.

Once authentication is bypassed, the same path can be leveraged to achieve remote code execution on the firewall itself. Exact request formats, parameters, or exploit sequences are not provided in the available facts; defenders should treat any unauthenticated access to User Portal or Webadmin as potentially dangerous and verify behavior only against the vendor’s technical write-up. No public documentation in the supplied record links this CVE to ransomware campaigns.

Am I affected? How to find it in your systems

Sophos Firewall appliances and virtual instances commonly sit at internet or partner boundaries, terminating VPN, providing web filtering, or exposing a User Portal for remote users and a Webadmin interface for administrators. Inventory every Sophos Firewall deployment—physical, virtual, and cloud-hosted—by consulting asset management records, network diagrams, and management consoles.

If version or exposure status cannot be determined quickly, assume the device is in scope until proven otherwise against the vendor list.

How to remediate

Patching is the primary remediation. Apply the updates published by Sophos for this vulnerability exactly as directed in the vendor advisory and in line with CISA’s required action: “Apply updates per vendor instructions.” Schedule the upgrade during a maintenance window that allows verification of policy, VPN, and routing after reboot.

These steps harden the device class against similar authentication-bypass and RCE issues even after the specific CVE is closed.

If you can't patch immediately

When immediate upgrade is impossible, reduce the attack surface until the vendor update can be applied.

These controls do not replace the patch; they only buy time.

If your data may have been exposed

Actively exploited authentication-bypass and RCE vulnerabilities on edge devices frequently precede broader network compromise and data theft. If you have evidence of exploitation or cannot rule it out, follow your incident-response process: isolate the device, preserve logs and disk images, rotate credentials and certificates that traversed the firewall, and examine internal systems for follow-on activity. You can also run a free exposure scan of your email addresses against known breach data sets to check whether credentials or personal information have appeared in prior incidents.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedSophos · Firewall
WeaknessCWE-158
Added to CISA KEVMar 31, 2022
Federal patch deadlineApr 21, 2022
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities