{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-9554 exists.","fix":"No fix has been published for CVE-2016-9554 yet. Limit exposure of the affected software until one is available.","what":"CVE-2016-9554 is a high-severity command injection vulnerability in n/a, published on 28 Jan 2017. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-9554 and fix it if it is affected.\n\nWhat it is: CVE-2016-9554 is a high-severity command injection vulnerability in n/a, published on 28 Jan 2017. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-9554 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2016-9554/ (Markdown: https://insights.sbomify.com/CVE-2016-9554/index.md)","id":"CVE-2016-9554","markdown":"https://insights.sbomify.com/CVE-2016-9554/index.md","name":"CVE-2016-9554","record":{"aliases":["GHSA-h9p6-824j-f26j"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Sophos Web Appliance","requires_auth":"high_privilege","summary":"Remote attackers can execute arbitrary commands on the Sophos Web Appliance via unsanitized input in the diagnostic tools interface.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"web_appliance","vendor":"sophos"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"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-\u003edtObj-\u003eexecuteCommand). 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.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2016-12-12","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2016-12-12","kind":"exploitdb","ref":"41414","stars":null,"title":"Sophos Web Appliance 4.2.1.3 - DiagnosticTools Remote Command Injection (Metasploit)"}],"tier":"weaponised"},"has_fix":null,"headline":"Command injection in n/a","id":"CVE-2016-9554","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2016"},"n_packages":0,"n_references":3,"next":{"headline":"Memory corruption in n/a","id":"CVE-2016-9555"},"packages":[],"prev":{"headline":"Command injection in n/a","id":"CVE-2016-9553"},"products":["n/a"],"published":"2017-01-28","related":[{"cvss_score":9.8,"headline":"Sophos Web Appliance Command Injection","id":"CVE-2023-1671","kev_date_added":"2023-11-16","published":"2023-04-04"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2017-6182","kev_date_added":null,"published":"2017-03-30"},{"cvss_score":9.3,"headline":"Command injection in n/a","id":"CVE-2013-2642","kev_date_added":null,"published":"2014-03-18"},{"cvss_score":8.5,"headline":"Missing authorization in n/a","id":"CVE-2014-2849","kev_date_added":null,"published":"2014-04-11"},{"cvss_score":8.5,"headline":"Command injection in n/a","id":"CVE-2014-2850","kev_date_added":null,"published":"2014-04-11"},{"cvss_score":8.1,"headline":"Auth bypass in n/a","id":"CVE-2017-6412","kev_date_added":null,"published":"2017-03-30"},{"cvss_score":7.2,"headline":"Command injection in Sophos Web Appliance","id":"CVE-2022-4934","kev_date_added":null,"published":"2023-04-04"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary commands on the Sophos Web Appliance via unsanitized input in the diagnostic tools interface.","url":"https://insights.sbomify.com/CVE-2016-9554/"}