SecPod

Learn Search

Search across all Learn content

← Back to Security Research
Sophos UTM Creating a ‘Big’ Bounty with Remote Code Execution Flaw

Sophos UTM Creating a ‘Big’ Bounty with Remote Code Execution Flaw

A critical and high severity remote code execution vulnerability CVE-2020-25223 with CVSS 3. x severe base score 9.8 is present in Sophos SG UTM. Sophos reported this vulnerability on  September 18, 2020, in their Advisory. A reliable vulnerability management tool can help to combat these vulnerabil...

Aug 24, 2021By Vijay Chachadi3 min read

A critical and high severity remote code execution vulnerability CVE-2020-25223 with CVSS 3. x severe base score 9.8 is present in Sophos SG UTM. Sophos reported this vulnerability on  September 18, 2020, in their Advisory. A reliable vulnerability management tool can help to combat these vulnerabilities.

This vulnerability was present in the company’s bug bounty program by an external security researcher. As per the claim from the advisory, there was no evidence of vulnerability exploitation at the time of the release of the advisory. Vulnerability Management software can help reduce these attacks.

Vulnerability CVE-2020-25223 details

  • CVE-2020-25223: A remote code execution vulnerability exists in WebAdmin of Sophos SG UTM

The vulnerability was present in the web admin of the Sophos SG UTM. The vulnerability can be easily triggering and exploited by sending an HTTP request to the devices with vulnerable versions of the affected software, which lacks proper input validation. As a result, an attacker can have unauthenticated,remote code execution as a root user on Sophos UTM.

How does CVE-2020-25223 attack work?

A researcher stated in his article that he found that webadmin. plx endpoint handles most of the incoming web traffic, which is a Perl file. When an HTTP POST request is present, the SID(Session Identifier) goes to the confd, a back-end service, to check whether it’s a valid session identifier. The SID is supplying itself to a HTTP POST Request, and the confd attempts to read SID from confd sessions directory (/var/confd/var/sessions). Then the SID is passing as a second argument to the open() function as a file after passing through a couple of subroutines. In Perl, we must handle the open() function carefully when user-supply data is passing as the second argument. You can learn more about this in Perl’s document.

In this case, commands are passing as SID as a second argument to open(). To bypass the regex check, replace the SID with 0 in the HTTP request before reaching the webadmin.plx, RewriteRule ^/var /webadmin.plx is in use. i.e., sending an HTTP request to /var is the same as sending the HTTP request to webadmin.plx, but in this case, the request checks is not by regex. By replacing SID in HTTP requests with commands like touch /tmp/pwned, the commands will be executed. This is how the attack can be carried out.

Image credits: https://www.atredis.com/
Image credits: https://www.atredis.com/

Affected Versions by CVE-2020-25223

Sophos SG UTM versions before v9.705 MR5, v9.607 MR7, 9.511 MR11

Workaround

The advisory does mention a workaround for users who cannot currently deploy the fixed version. It can be present by keeping Internal or another internal-only network definition as the sole entry in Management->WebAdmin Settings->WebAdmin Access Configuration->Allowed Networks.

Solution

Finally, a fix for this vulnerability has been released in versions v9.705 MR5, v9.607 MR7, v9.511 MR11, or later. However, The vulnerable versions of Sophos SG UTM are in advisement to update to the latest available release.

Featured Posts

Open Critical Security Flaws in Microsoft Office, Erlang/OTP and Mozilla Thunderbird: November 25, 2026
Critical Security Flaws in Microsoft Office, Erlang/OTP and Mozilla Thunderbird: November 25, 2026

CVE Research

Critical Security Flaws in Microsoft Office, Erlang/OTP and Mozilla Thunderbird: November 25, 2026

Critical security flaws disclosed in November 2026 affect Microsoft Office, Erlang/OTP, and Mozilla Thunderbird. Explore CVE-2026-112732, CVE-2026-124286, and CVE-2026-136226, including remote code execution, TLS server impersonation, email spoofing risks, affected versions, and fixes.

Nov 25, 2026

Open Critical Vulnerabilities, November 23, 2026: Ruby2Shell in GitLab CE/EE and Seven rclone Flaws
vulnerability researchCritical Vulnerabilities, November 23, 2026: Ruby2Shell in GitLab CE/EE and Seven rclone Flaws

CVE Research

Critical Vulnerabilities, November 23, 2026: Ruby2Shell in GitLab CE/EE and Seven rclone Flaws

Nov 24, 2026

Open Three Critical Vulnerabilities in rConfig, Wing FTP Server and Google Chrome: 23 November 2026 Security Research
Three Critical Vulnerabilities in rConfig, Wing FTP Server and Google Chrome: 23 November 2026 Security Research

CVE Research

Three Critical Vulnerabilities in rConfig, Wing FTP Server and Google Chrome: 23 November 2026 Security Research

Explore three critical vulnerabilities affecting rConfig, Wing FTP Server, and Google Chrome, including technical root causes, exploitation risks, CVSS scores, attack-flow diagrams, MITRE ATT&CK assessment, and recommended security updates.

Nov 24, 2026

Open Beyond the Hypervisor: ARMORY CASTLE's VMware vCenter Zero-Day Exploitation and Data Theft
Beyond the Hypervisor: ARMORY CASTLE's VMware vCenter Zero-Day Exploitation and Data Theft

CVE Research

Beyond the Hypervisor: ARMORY CASTLE's VMware vCenter Zero-Day Exploitation and Data Theft

ARMORY CASTLE, a suspected China-nexus espionage group, exploited vulnerabilities in BeyondTrust Remote Support and VMware vCenter to gain access to enterprise environments, compromise virtualization infrastructure, steal credentials, and extract virtual machine data. The operation involved custom malware, privilege escalation, SAML token forgery, and persistent access to compromised systems.

Nov 23, 2026