CVE-2022-1040
Description
An authentication bypass vulnerability in the User Portal and Webadmin allows a remote attacker to execute code in Sophos Firewall version v18.5 MR3 and older.
Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
99.796%
chance of exploitation in the next 30 days
among the highest of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-03-31
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 1
Exploit-DB: 1
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Sophos Firewall Authentication Bypass Vulnerability |
|---|---|
| Vendor / product | Sophos / Firewall |
| Date added | 2022-03-31 |
| Federal remediation due date | 2022-04-21 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-01-29 |
Timeline
- 2022-03-25Published by the CNA12:10 UTC
- 2022-03-31Added to the CISA KEV catalog6 days after publication
- 2022-09-02First Exploit-DB entry (EDB-ID 51006)161 days after publication
- 2025-01-29CISA SSVC decision recorded1041 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 51006 | webapps | hardware | 2022-09-02 | no |
Nuclei templates:
- CVE-2022-1040: Sophos Firewall <=18.5 MR3 - Remote Code Execution
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| sophos sfos | through 18.5.3no fix listed | not listed |
References
- https://www.sophos.com/en-us/security-advisories/sophos-sa-20220325-sfos-rce
- http://packetstormsecurity.com/files/168046/Sophos-XG115w-Firewall-17.0.10-MR-10-Authentication-Bypass.html
- https://www.exploit-db.com/exploits/51006
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-1040
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-1040'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-1040'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-1040'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-1040'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2022-1040'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).