CVE-2016-9554

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

Risk Information

Base Score
7.2
MODERATE
Vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
11.274

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2016-9553 ,CVE-2016-9554 ,CVE-2022-4934 ,CVE-2020-36692 ,CVE-2023-1671 are affected in web_appliance 4.2.1.3 NCM

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234