{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-6398 exists.","fix":"No fix has been published for CVE-2017-6398 yet. Limit exposure of the affected software until one is available.","what":"CVE-2017-6398 is a high-severity command injection vulnerability in n/a, published on 14 Mar 2017. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-6398 and fix it if it is affected.\n\nWhat it is: CVE-2017-6398 is a high-severity command injection vulnerability in n/a, published on 14 Mar 2017. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-6398 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-2017-6398/ (Markdown: https://insights.sbomify.com/CVE-2017-6398/index.md)","id":"CVE-2017-6398","markdown":"https://insights.sbomify.com/CVE-2017-6398/index.md","name":"CVE-2017-6398","record":{"aliases":["GHSA-w5hc-4jjm-xx8x"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Email security appliance","requires_auth":"low_privilege","summary":"Authenticated attackers can execute arbitrary OS commands as root via improper input sanitization in the saveCert endpoint of Trend Micro IMSVA.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"interscan_messaging_security_virtual_appliance","vendor":"trendmicro"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"An issue was discovered in Trend Micro InterScan Messaging Security (Virtual Appliance) 9.1-1600. An authenticated user can execute a terminal command in the context of the web server user (which is root). Besides, the default installation of IMSVA comes with default administrator credentials. The saveCert.imss endpoint takes several user inputs and performs blacklisting. After that, it uses them as arguments to a predefined operating-system command without proper sanitization. However, because of an improper blacklisting rule, it's possible to inject arbitrary commands into it.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2017-01-15","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2017-01-15","kind":"metasploit","ref":"exploit/linux/http/trend_micro_imsva_exec","stars":null,"title":"Trend Micro InterScan Messaging Security (Virtual Appliance) Remote Code Execution"}],"tier":"weaponised"},"has_fix":null,"headline":"Command injection in n/a","id":"CVE-2017-6398","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2017"},"n_packages":0,"n_references":2,"next":{"headline":"Command injection in n/a","id":"CVE-2017-6399"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2017-6397"},"products":["n/a"],"published":"2017-03-14","related":[{"cvss_score":8.8,"headline":"Cross-site request forgery in Trend Micro InterScan Messaging Security Virtual Appliance (IMSVA)","id":"CVE-2020-27016","kev_date_added":null,"published":"2020-11-09"},{"cvss_score":8.8,"headline":"Other in Trend Micro InterScan Messaging Security Virtual Appliance (IMSVA)","id":"CVE-2020-27694","kev_date_added":null,"published":"2020-11-09"},{"cvss_score":8.8,"headline":"Command injection in Trend Micro InterScan Messaging Security Virtual Appliance","id":"CVE-2017-11391","kev_date_added":null,"published":"2017-08-03"},{"cvss_score":8.8,"headline":"Command injection in Trend Micro InterScan Messaging Security Virtual Appliance","id":"CVE-2017-11392","kev_date_added":null,"published":"2017-08-03"},{"cvss_score":8.1,"headline":"Information disclosure in Trend Micro InterScan Messaging Security Virtual Appliance","id":"CVE-2018-3609","kev_date_added":null,"published":"2018-02-16"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2017-7896","kev_date_added":null,"published":"2017-04-18"}],"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":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Authenticated attackers can execute arbitrary OS commands as root via improper input sanitization in the saveCert endpoint of Trend Micro IMSVA.","url":"https://insights.sbomify.com/CVE-2017-6398/"}