{"id":"CVE-2016-9554","published":"2017-01-28T12:38:00Z","modified":"2024-08-06T02:50:38Z","title":"The Sophos Web Appliance Remote / Secure Web Gateway server (version 4.2.1.3) is vulnerable to a Remote Command…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.25063,"percentile":0.9797,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/95858","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://pastebin.com/UB8Ye6ZU","tags":["x_refsource_MISC"]},{"url":"https://community.sophos.com/products/web-appliance/b/blog/posts/release-of-swa-version-4-3-1","tags":["x_refsource_CONFIRM"]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":19.59},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2016-12-12"},"first":{"date":"2016-12-12","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/41414"},"provenance":"source"},"summary":{"text":"The Sophos Web Appliance Remote / Secure Web Gateway server (version 4.2.1.3) contains a remote command injection flaw in the diagnostic tools component of its web administrative interface, specifically in MgrDiagnosticTools.php, where the 'url' variable passed to the wget diagnostic test is not properly escaped before reaching exec(). An attacker who can reach the administrative interface and invoke the vulnerable page via the 'configuration' section can inject operating system commands and obtain shell access to the host under the 'spiderman' user account.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:45:06Z"},"euvd":{"id":"EUVD-2016-10360","exploited":false,"provenance":"source"},"exploits":[{"id":41414,"url":"https://www.exploit-db.com/exploits/41414","title":"Sophos Web Appliance 4.2.1.3 - DiagnosticTools Remote Command Injection (Metasploit)","date":"2016-12-12","verified":true,"provenance":"source"}]}