# CVE-2016-9554: The Sophos Web Appliance Remote / Secure Web Gateway server (version 4.2.1.3) is vulnerable to a Remote Com…

- Vendor: Sophos, Web Appliance
- Severity: unknown
- Exploited (CISA KEV): not listed
- EPSS: 25.1% on 2026-12-02
- Public exploit: not checked
- Patch available: no or unknown
- Vendor advisory: https://community.sophos.com/products/web-appliance/b/blog/posts/release-of-swa-version-4-3-1
- Published: 2017-01-28; updated: 2017-02-23
- Page: https://patchtonight.com/cve/CVE-2016-9554/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| n/a n/a | See the advisory |

## The vendor's description

The Sophos Web Appliance Remote / Secure Web Gateway server (version 4.2.1.3) is vulnerable to a Remote Command Injection vulnerability in its web administrative interface. These vulnerabilities occur in MgrDiagnosticTools.php (/controllers/MgrDiagnosticTools.php), in the component responsible for performing diagnostic tests with the UNIX wget utility. The application doesn't properly escape the information passed in the 'url' variable before calling the executeCommand class function ($this->dtObj->executeCommand). This function calls exec() with unsanitized user input allowing for remote command injection. The page that contains the vulnerabilities, /controllers/MgrDiagnosticTools.php, is accessed by a built-in command answered by the administrative interface. The command that calls to that vulnerable page (passed in the 'section' parameter) is: 'configuration'. Exploitation of this vulnerability yields shell access to the remote machine under the 'spiderman' user account.

## Sources

- [Sophos advisory](https://community.sophos.com/products/web-appliance/b/blog/posts/release-of-swa-version-4-3-1)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
