CVE-2016-9554
CVE-2016-9554 is a high-severity vulnerability in Sophos Web Appliance with a CVSS 3.x base score of 7.2. Its EPSS exploit-prediction score of 24% places it in the 98th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-77.
Key facts
- Severity: High (CVSS 3.x base score 7.2)
- CVSS v2: 9.0
- EPSS exploit prediction: 24% (98th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-77
- Affected product: Sophos Web Appliance
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2016-9554?
- 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.
- How severe is CVE-2016-9554?
- CVE-2016-9554 has a CVSS 3.x base score of 7.2, rated high severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2016-9554 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 24% (98th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2016-9554?
- CVE-2016-9554 affects Sophos Web Appliance. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2016-9554?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2016-9554 published?
- CVE-2016-9554 was published on 2017-01-28 and last updated on 2026-06-17.
References
- http://pastebin.com/UB8Ye6ZU
- http://www.securityfocus.com/bid/95858
- https://community.sophos.com/products/web-appliance/b/blog/posts/release-of-swa-version-4-3-1
Affected products (1)
- cpe:2.3:a:sophos:web_appliance:4.2.1.3:*:*:*:*:*:*:*
More vulnerabilities in Sophos Web Appliance
- CVE-2023-1671 — Critical (CVSS 9.8): A pre-auth command injection vulnerability in the warn-proceed handler of Sophos Web Appliance older than version…
- CVE-2017-6182 — Critical (CVSS 9.8): In Sophos Web Appliance (SWA) before 4.3.1.2, a section of the machine's interface responsible for generating reports…
- CVE-2013-2642 — Critical (CVSS 9.3): Sophos Web Appliance before 3.7.8.2 allows (1) remote attackers to execute arbitrary commands via shell metacharacters…
- CVE-2014-2850 — High (CVSS 8.5): The network interface configuration page (netinterface) in Sophos Web Appliance before 3.8.2 allows remote…
- CVE-2014-2849 — High (CVSS 8.5): The Change Password dialog box (change_password) in Sophos Web Appliance before 3.8.2 allows remote authenticated users…
- CVE-2017-6412 — High (CVSS 8.1): In Sophos Web Appliance (SWA) before 4.3.1.2, Session Fixation could occur, aka NSWA-1310.
All CVEs affecting Sophos Web Appliance →
Other CWE-77 (Command Injection) vulnerabilities
- CVE-2026-23652 — Critical (CVSS 10.0): Improper neutralization of special elements used in a command ('command injection') in Microsoft Power Pages allows an…
- CVE-2025-59818 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute arbitrary commands on the underlying system using the file…
- CVE-2025-64093 — Critical (CVSS 10.0): Remote Code Execution vulnerability that allows unauthenticated attackers to inject arbitrary commands into the…
- CVE-2025-64090 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute commands via the hostname of the device.
- CVE-2025-61492 — Critical (CVSS 10.0): A command injection vulnerability in the execute_command function of terminal-controller-mcp 0.1.7 allows attackers to…
- CVE-2025-10035 — Critical (CVSS 10.0): A deserialization vulnerability in the License Servlet of Fortra's GoAnywhere MFT allows an actor with a validly forged…