{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-22598 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-22598 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-22598 is a high-severity command injection vulnerability in InHand Networks InRouter 302, published on 12 Jan 2023. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-22598 and fix it if it is affected.\n\nWhat it is: CVE-2023-22598 is a high-severity command injection vulnerability in InHand Networks InRouter 302, published on 12 Jan 2023. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-22598 in the wild and no public exploit code.\n\nAffected product: InHand Networks InRouter 302. 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-2023-22598/ (Markdown: https://insights.sbomify.com/CVE-2023-22598/index.md)","id":"CVE-2023-22598","markdown":"https://insights.sbomify.com/CVE-2023-22598/index.md","name":"CVE-2023-22598","record":{"aliases":["GHSA-x3rw-7xfq-v6g9"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"InHand industrial router","requires_auth":"high_privilege","summary":"An attacker with privileged access can inject OS commands via configuration files to achieve remote code execution with root privileges on InHand routers.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"icscert","cpe":[{"product":"inrouter302_firmware","vendor":"inhandnetworks"},{"product":"inrouter615-s_firmware","vendor":"inhandnetworks"}],"cvss":{"score":7.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"InHand Networks InRouter 302, prior to version IR302 V3.5.56, and InRouter 615, prior to version InRouter6XX-S-V2.3.0.r5542, contain vulnerability CWE-78:  Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'). \n\nAn unauthorized user with privileged access to the local web interface or the cloud account managing the affected devices could push a specially crafted configuration update file to gain root access. This could lead to remote code execution with root privileges.","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 InRouter 302","id":"CVE-2023-22598","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Hardcoded credentials in InRouter 302","id":"CVE-2023-22599"},"packages":[],"prev":{"headline":"Information disclosure in InRouter 302","id":"CVE-2023-22597"},"products":["InRouter 302","InRouter 615"],"published":"2023-01-12","related":[{"cvss_score":10,"headline":"Missing authorization in InRouter 302","id":"CVE-2023-22600","kev_date_added":null,"published":"2023-01-12"},{"cvss_score":10,"headline":"Information disclosure in InRouter 302","id":"CVE-2023-22601","kev_date_added":null,"published":"2023-01-12"},{"cvss_score":9.9,"headline":"File upload in InRouter302","id":"CVE-2022-21809","kev_date_added":null,"published":"2022-05-12"},{"cvss_score":7.4,"headline":"Privilege escalation in InRouter302","id":"CVE-2022-25932","kev_date_added":null,"published":"2022-11-09"},{"cvss_score":7.4,"headline":"Privilege escalation in InRouter302","id":"CVE-2022-21182","kev_date_added":null,"published":"2022-05-12"},{"cvss_score":7,"headline":"Hardcoded credentials in InRouter 302","id":"CVE-2023-22599","kev_date_added":null,"published":"2023-01-12"}],"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":"2025-01-16","vendors":["InHand Networks"]},"summary":"An attacker with privileged access can inject OS commands via configuration files to achieve remote code execution with root privileges on InHand routers.","url":"https://insights.sbomify.com/CVE-2023-22598/"}