{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-0185 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-0185 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-0185 is a high-severity command injection vulnerability in Cisco Ios Xe, published on 28 Mar 2018. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-0185 and fix it if it is affected.\n\nWhat it is: CVE-2018-0185 is a high-severity command injection vulnerability in Cisco Ios Xe, published on 28 Mar 2018. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-0185 in the wild and no public exploit code.\n\nAffected product: Cisco Ios Xe. 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-2018-0185/ (Markdown: https://insights.sbomify.com/CVE-2018-0185/index.md)","id":"CVE-2018-0185","markdown":"https://insights.sbomify.com/CVE-2018-0185/index.md","name":"CVE-2018-0185","record":{"aliases":["GHSA-h969-236v-c7w4"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Cisco IOS XE","requires_auth":"low_privilege","summary":"Authenticated local attackers can inject commands into the CLI to escape to the Linux shell and execute arbitrary commands with root privileges.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"ios_xe","vendor":"cisco"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:L/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":"Multiple vulnerabilities in the CLI parser of Cisco IOS XE Software could allow an authenticated, local attacker to inject arbitrary commands into the CLI of the affected software, which could allow the attacker to gain access to the underlying Linux shell of an affected device and execute commands with root privileges on the device. The vulnerabilities exist because the affected software does not sufficiently sanitize command arguments before passing commands to the Linux shell for execution. An attacker could exploit these vulnerabilities by submitting a malicious CLI command to the affected software. A successful exploit could allow the attacker to break from the CLI of the affected software, which could allow the attacker to gain access to the underlying Linux shell on an affected device and execute arbitrary commands with root privileges on the device. Cisco Bug IDs: CSCuz03145, CSCuz56419, CSCva31971, CSCvb09542.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Command injection in Cisco IOS XE","id":"CVE-2018-0185","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"cisco:ios_xe","products":["cisco:ios_xe"],"type":"command_injection","year":"2018"},"n_packages":0,"n_references":2,"next":{"headline":"Cross-site scripting in Cisco IOS XE","id":"CVE-2018-0186"},"packages":[],"prev":{"headline":"Command injection in Cisco IOS XE","id":"CVE-2018-0184"},"products":["Cisco IOS XE"],"published":"2018-03-28","related":[{"cvss_score":10,"headline":"Cisco IOS XE Web UI Privilege Escalation","id":"CVE-2023-20198","kev_date_added":"2023-10-16","published":"2023-10-16"},{"cvss_score":9.8,"headline":"Cisco IOS Software and Cisco IOS XE Software Quality of Service Remote Code Execution","id":"CVE-2018-0151","kev_date_added":"2022-03-03","published":"2018-03-28"},{"cvss_score":7.2,"headline":"Cisco IOS XE Web UI Command Injection","id":"CVE-2023-20273","kev_date_added":"2023-10-23","published":"2023-10-24"},{"cvss_score":10,"headline":"Hardcoded credentials in Cisco IOS XE Software","id":"CVE-2025-20188","kev_date_added":null,"published":"2025-05-07"},{"cvss_score":10,"headline":"Cisco IOS XE Software for Catalyst 9000 Family Wireless Controllers CAPWAP Remote Code Execution Vulnerability","id":"CVE-2021-34770","kev_date_added":null,"published":"2021-09-23"},{"cvss_score":10,"headline":"Cisco REST API Container for IOS XE Software Authentication Bypass Vulnerability","id":"CVE-2019-12643","kev_date_added":null,"published":"2019-08-28"},{"cvss_score":9.8,"headline":"Cisco IOS XE Software Security Hardening Release","id":"CVE-2026-20272","kev_date_added":null,"published":"2026-08-05"}],"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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-12-02","vendors":["n/a"]},"summary":"Authenticated local attackers can inject commands into the CLI to escape to the Linux shell and execute arbitrary commands with root privileges.","url":"https://insights.sbomify.com/CVE-2018-0185/"}