{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2016-9554","published":"2017-01-28T12:59:00.180000Z","last_modified":"2026-06-17T00:56:12.560000Z","status":"Modified","cvss":{"version":"3.0","score":7.2,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-77"],"cpes":[{"criteria":"cpe:2.3:a:sophos:web_appliance:4.2.1.3:*:*:*:*:*:*:*","part":"a","vendor":"sophos","product":"web_appliance","version":"4.2.1.3"}],"cpes_truncated":false,"vendors":["sophos"],"products":["sophos/web_appliance"],"cat":"app","platform":"multi","eol":false,"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2016-9554/","html_en":"/en/cve/CVE-2016-9554/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-9554","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-9554"},"untrusted":{"vendor_name":"Sophos","product_name":"Web Appliance","desc_en":"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.","affected":[],"references":[{"url":"http://pastebin.com/UB8Ye6ZU","tags":["Exploit"]},{"url":"http://www.securityfocus.com/bid/95858","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://community.sophos.com/products/web-appliance/b/blog/posts/release-of-swa-version-4-3-1","tags":["Release Notes"]}]}}