2022-05-06 14:57:40 +00:00
id : CVE-2022-1040
info :
2022-05-20 21:38:52 +00:00
name : Sophos Firewall <=18.5 MR3 - Remote Code Execution
2022-05-06 14:57:40 +00:00
author : For3stCo1d
severity : critical
2022-05-09 17:21:50 +00:00
description : |
2022-05-20 21:38:52 +00:00
Sophos Firewall version v18.5 MR3 and older contains an authentication bypass vulnerability in the User Portal and Webadmin which could allow a remote attacker to execute code.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system, potentially leading to complete compromise of the firewall.
2023-09-06 11:59:08 +00:00
remediation : |
Upgrade to a patched version of Sophos Firewall (>=18.5 MR4) to mitigate this vulnerability.
2022-05-06 14:57:40 +00:00
reference :
- https://github.com/killvxk/CVE-2022-1040
2022-05-09 13:54:47 +00:00
- https://github.com/CronUp/Vulnerabilidades/blob/main/CVE-2022-1040_checker
2022-05-06 16:17:16 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-1040
2022-05-17 09:18:12 +00:00
- https://www.sophos.com/en-us/security-advisories/sophos-sa-20220325-sfos-rce
2024-01-29 17:11:14 +00:00
- https://github.com/Mr-xn/Penetration_Testing_POC
2022-05-06 14:57:40 +00:00
classification :
2022-05-17 09:18:12 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-05-06 14:57:40 +00:00
cvss-score : 9.8
cve-id : CVE-2022-1040
cwe-id : CWE-287
2024-03-23 09:28:19 +00:00
epss-score : 0.97434
epss-percentile : 0.99939
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:o:sophos:sfos:*:*:*:*:*:*:*:*
2022-05-09 17:21:50 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : sophos
product : sfos
2023-09-06 11:59:08 +00:00
shodan-query : http.title:"Sophos"
2022-07-21 17:18:22 +00:00
tags : cve,cve2022,sophos,firewall,auth-bypass,rce,kev
2022-05-06 14:57:40 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-05-06 14:57:40 +00:00
- method : POST
path :
2022-05-06 16:25:41 +00:00
- "{{BaseURL}}/userportal/Controller?mode=8700&operation=1&datagrid=179&json={\"🦞\":\"test\"}"
2022-05-09 17:21:50 +00:00
2022-05-06 14:57:40 +00:00
headers :
2022-05-06 16:25:41 +00:00
X-Requested-With : "XMLHttpRequest"
2022-05-06 14:57:40 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
2022-05-09 13:54:47 +00:00
- "{\"status\":\"Session Expired\"}"
2022-05-06 14:57:40 +00:00
- type : word
part : header
words :
- "Server: xxxx"
- type : status
status :
- 200
2024-03-25 11:57:16 +00:00
# digest: 4a0a00473045022100f080aa3d8834e42afae528c892504c545864a4171a3a9942ab2a67b241c8cfc40220077fa609e7ee21031571a5fa2ca2d814a59157fd47ce39dc7ba4e6310900f35f:922c64590222798bb761d5b6d8e72950