{"id":"CVE-2016-9554","url":"https://www.cyber-defence.io/tools/cve/CVE-2016-9554","generatedAt":"2026-10-28T19:02:32.402Z","title":"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.","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.","published":"2017-01-28T12:59:00.000Z","lastModified":"2026-06-17T00:56:13.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","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"},"cwe":["CWE-77"],"affected":["sophos/web appliance"],"epss":{"score":0.25063,"percentile":0.97912,"date":"2026-10-27","history":[{"date":"2026-09-21","score":0.21308,"percentile":0.97538},{"date":"2026-09-22","score":0.2463,"percentile":0.97786}]},"kev":{"listed":false},"exploits":{"count":1,"verified":true,"firstPublished":"2016-12-12","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":41414,"kind":"exploit","title":"Sophos Web Appliance 4.2.1.3 - DiagnosticTools Remote Command Injection (Metasploit)","url":"https://www.exploit-db.com/exploits/41414","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/webapps/41414.rb","file":"exploits/linux/webapps/41414.rb","published":"2016-12-12","added":"2017-02-21","updated":"2017-07-18","author":"xort","type":"webapps","platform":"linux","port":null,"verified":true,"codes":["CVE-2016-9554"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 25.1%, higher than 98% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://pastebin.com/UB8Ye6ZU","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/95858","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://community.sophos.com/products/web-appliance/b/blog/posts/release-of-swa-version-4-3-1","tags":["Release Notes"],"source":"cve@mitre.org"},{"url":"http://pastebin.com/UB8Ye6ZU","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/95858","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://community.sophos.com/products/web-appliance/b/blog/posts/release-of-swa-version-4-3-1","tags":["Release Notes"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-9554","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}