{"schemaVersion":3,"id":"CVE-2016-9553","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"The Sophos Web Appliance (version 4.2.1.3) is vulnerable to two Remote Command Injection vulnerabilities affecting its web administrative interface. These vulnerabilities occur in the MgrReport.php (/controllers/MgrReport.php) component responsible for blocking and unblocking IP addresses from accessing the device. The device doesn't properly escape the information passed in the variables 'unblockip' and 'blockip' before calling the shell_exec() function which allows for system commands to be injected into the device. The code erroneously suggests that the information handled is protected by utilizing the variable name 'escapedips' - however this was not the case. The Sophos ID is NSWA-1258.","dates":{"published":"2017-01-28T12:38:00.000Z","modified":"2024-08-06T02:50:38.388Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","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","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9,"severity":"high","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.19815,"percentile":0.9739,"severity":"medium","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.35300000000000054,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.19462},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.16322,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.19815,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.19815,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.19815,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.19815,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.19815,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.19815,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.19815,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.19815,"percentile":0.9739}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.16322,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.19462,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.19815,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.19815,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.19815,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.19815,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.19815,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.19815,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.19815,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.19815,"percentile":0.9739}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_D444E32F9BF9DF40","name":"Exploit Reference (pastebin.com)","source":"reference","url":"http://pastebin.com/DUYuN0U5","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"41413","name":"Sophos Web Appliance 4.2.1.3 - block/unblock Remote Command Injection (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/41413","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"webapps","platform":"php","file":"exploits/php/webapps/41413.rb","codes":["CVE-2016-9553"]},"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command ('Command Injection')","description":"The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/77.html"}],"affected":[{"vendor":"sophos","product":"web_appliance","name":"Web Appliance","label":"web_appliance","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.2.1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.2.1.3","eol":null,"hubHref":"/vendor/sophos/web_appliance"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://swa.sophos.com/rn/swa/concepts/ReleaseNotes_4.3.1.html","label":"swa.sophos.com/rn/swa/concepts/ReleaseNotes_4.3.1.html","hostname":"swa.sophos.com","tags":["X Refsource CONFIRM","Release Notes"]},{"url":"http://www.securityfocus.com/bid/95853","label":"www.securityfocus.com/bid/95853","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://community.sophos.com/products/web-appliance/b/blog/posts/release-of-swa-version-4-3-1","label":"community.sophos.com/products/web-appliance/b/blog/posts/release-of-swa-version-4-3-1","hostname":"community.sophos.com","tags":["X Refsource CONFIRM","Release Notes"]},{"url":"http://pastebin.com/DUYuN0U5","label":"pastebin.com/DUYuN0U5","hostname":"pastebin.com","tags":["X Refsource MISC","Exploit"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-01-28T12:38:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T02:50:38.388Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T21:37:25.121Z","stale":false,"partial":false}}