Known Exploited Vulnerability
9.8
CRITICAL
CVE-2022-1040
Sophos Firewall Authentication Bypass Vulnerabilit - [Actively Exploited]
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.

INFO

Published Date :

March 25, 2022, 12:15 p.m.

Last Modified :

Aug. 8, 2023, 2:21 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
CISA Notification
CISA KEV (Known Exploited Vulnerabilities)

For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.

Description :

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

Required Action :

Apply updates per vendor instructions.

Public PoC/Exploit Available at Github

CVE-2022-1040 has a 21 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-1040 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Sophos sfos
2 Sophos firewall
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-1040.

URL Resource
http://packetstormsecurity.com/files/168046/Sophos-XG115w-Firewall-17.0.10-MR-10-Authentication-Bypass.html Exploit Third Party Advisory VDB Entry
https://www.exploit-db.com/exploits/51006 Exploit Third Party Advisory VDB Entry
https://www.sophos.com/en-us/security-advisories/sophos-sa-20220325-sfos-rce Mitigation Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

All CVE - PoC in GitHub

poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate

Updated: 2 months, 3 weeks ago
5 stars 2 fork 2 watcher
Born at : March 22, 2024, 3:58 p.m. This repo has been linked 928 different CVEs too.

None

Updated: 8 months, 1 week ago
1 stars 0 fork 0 watcher
Born at : March 11, 2024, 1:21 p.m. This repo has been linked 930 different CVEs too.

渗透测试有关的POC、EXP、脚本、提权、小工具等---About penetration-testing python-script poc getshell csrf xss cms php-getshell domainmod-xss csrf-webshell cobub-razor cve rce sql sql-poc poc-exp bypass oa-getshell cve-cms

Assembly Python Shell PHP C++ C Go Ruby HTML Java

Updated: 3 months, 2 weeks ago
4 stars 0 fork 0 watcher
Born at : Feb. 7, 2024, 2:08 p.m. This repo has been linked 305 different CVEs too.

None

Updated: 9 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 5, 2024, 7:35 a.m. This repo has been linked 1 different CVEs too.

New exploitation of 2020 Sophos vuln

Python

Updated: 1 year, 1 month ago
0 stars 0 fork 0 watcher
Born at : Sept. 26, 2023, 7:26 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 year, 7 months ago
0 stars 2 fork 2 watcher
Born at : April 8, 2023, 6:19 a.m. This repo has been linked 923 different CVEs too.

None

Updated: 9 months, 1 week ago
20 stars 3 fork 3 watcher
Born at : Feb. 14, 2023, 6:10 p.m. This repo has been linked 921 different CVEs too.

Sophos EXploit

Updated: 1 year, 10 months ago
0 stars 1 fork 1 watcher
Born at : Jan. 8, 2023, 3:46 p.m. This repo has been linked 1 different CVEs too.

Collect some iot-related security articles, including vulnerability analysis, security conferences and papers, etc.

iot-security

Updated: 2 months, 2 weeks ago
211 stars 27 fork 27 watcher
Born at : Dec. 6, 2022, 1:11 p.m. This repo has been linked 46 different CVEs too.

None

Updated: 9 months ago
2 stars 2 fork 2 watcher
Born at : Nov. 25, 2022, 5:43 p.m. This repo has been linked 930 different CVEs too.

None

Assembly Python Shell PHP C++ C Go Ruby HTML Java

Updated: 4 months ago
6 stars 3 fork 3 watcher
Born at : Nov. 25, 2022, 2:30 a.m. This repo has been linked 270 different CVEs too.

This vulnerability allows an attacker to gain unauthorized access to the firewall management space by bypassing authentication

Updated: 6 months, 2 weeks ago
1 stars 2 fork 2 watcher
Born at : Oct. 30, 2022, 7:20 p.m. This repo has been linked 1 different CVEs too.

Save the trouble to open the burpsuite...

Python Dockerfile

Updated: 2 years ago
2 stars 0 fork 0 watcher
Born at : Oct. 7, 2022, 2:44 p.m. This repo has been linked 1 different CVEs too.

CVE-2022-1040

Updated: 5 months ago
15 stars 3 fork 3 watcher
Born at : Sept. 25, 2022, 3:15 p.m. This repo has been linked 1 different CVEs too.

This vulnerability allows an attacker to gain unauthorized access to the firewall management space by bypassing authentication

firewall sophos sophos-xg cve-2022-1040 xg115w exploit poc cve-2022-1040-poc

Updated: 9 months, 4 weeks ago
29 stars 4 fork 4 watcher
Born at : Aug. 10, 2022, 10:38 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-1040 vulnerability anywhere in the article.

  • The Hacker News
FBI Seeks Public Help to Identify Chinese Hackers Behind Global Cyber Intrusions

The U.S. Federal Bureau of Investigation (FBI) has sought assistance from the public in connection with an investigation involving the breach of edge devices and computer networks belonging to compani ... Read more

Published Date: Nov 05, 2024 (2 weeks, 2 days ago)
  • BleepingComputer
Custom "Pygmy Goat" malware used in Sophos Firewall hack on govt network

UK's National Cyber Security Centre (NCSC) has published an analysis of a Linux malware named "Pigmy Goat" created to backdoor Sophos XG firewall devices as part of recently disclosed attacks by Chine ... Read more

Published Date: Nov 04, 2024 (2 weeks, 3 days ago)
  • Help Net Security
Sophos mounted counter-offensive operation to foil Chinese attackers

Sophos conducted defensive and counter-offensive operation over the last five years with multiple interlinked nation-state adversaries based in China targeting perimeter devices, including Sophos Fire ... Read more

Published Date: Oct 31, 2024 (3 weeks ago)

The following table lists the changes that have been made to the CVE-2022-1040 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Aug. 08, 2023

    Action Type Old Value New Value
    Changed CWE CWE-287 NVD-CWE-noinfo
  • Modified Analysis by [email protected]

    Oct. 27, 2022

    Action Type Old Value New Value
    Changed Reference Type http://packetstormsecurity.com/files/168046/Sophos-XG115w-Firewall-17.0.10-MR-10-Authentication-Bypass.html No Types Assigned http://packetstormsecurity.com/files/168046/Sophos-XG115w-Firewall-17.0.10-MR-10-Authentication-Bypass.html Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type https://www.exploit-db.com/exploits/51006 No Types Assigned https://www.exploit-db.com/exploits/51006 Exploit, Third Party Advisory, VDB Entry
  • CVE Modified by [email protected]

    Sep. 13, 2022

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/51006 [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 10, 2022

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/168046/Sophos-XG115w-Firewall-17.0.10-MR-10-Authentication-Bypass.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Mar. 31, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://www.sophos.com/en-us/security-advisories/sophos-sa-20220325-sfos-rce No Types Assigned https://www.sophos.com/en-us/security-advisories/sophos-sa-20220325-sfos-rce Mitigation, Vendor Advisory
    Added CWE NIST CWE-287
    Added CPE Configuration OR *cpe:2.3:o:sophos:sfos:*:*:*:*:*:*:*:* versions up to (including) 18.5.3
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-1040 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-1040 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

97.46 }} 0.01%

score

0.99971

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability