{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-34215 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-34215 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-34215 is a high-severity command injection vulnerability in Moxa TN-5900 Series, published on 17 Aug 2023. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-34215 and fix it if it is affected.\n\nWhat it is: CVE-2023-34215 is a high-severity command injection vulnerability in Moxa TN-5900 Series, published on 17 Aug 2023. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-34215 in the wild and no public exploit code.\n\nAffected product: Moxa TN-5900 Series. 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-34215/ (Markdown: https://insights.sbomify.com/CVE-2023-34215/index.md)","id":"CVE-2023-34215","markdown":"https://insights.sbomify.com/CVE-2023-34215/index.md","name":"CVE-2023-34215","record":{"aliases":["GHSA-9vgh-rvm2-h9w8"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Industrial network switch","requires_auth":"high_privilege","summary":"Attackers can execute remote code on Moxa TN-5900 switches via command injection in the certificate-generation function due to insufficient input validation.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Moxa","cpe":[{"product":"tn-5900_firmware","vendor":"moxa"}],"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-77","name":"Improper Neutralization of Special Elements used in a Command"},{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"TN-5900 Series firmware versions v3.3 and prior are vulnerable to the command-injection vulnerability. This vulnerability stems from insufficient input validation and improper authentication in the certification-generation function, which could potentially allow malicious users to execute remote code on affected devices.","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":"Second Order Command-injection Vulnerability in the Certificate-generation Function","id":"CVE-2023-34215","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":"Second Order Command-injection Vulnerability in the Key-delete Function","id":"CVE-2023-34216"},"packages":[],"prev":{"headline":"Second Order Command-injection Vulnerability in the Certificate-generation Function","id":"CVE-2023-34214"},"products":["TN-5900 Series"],"published":"2023-08-17","related":[{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2021-46560","kev_date_added":null,"published":"2022-01-26"},{"cvss_score":8.8,"headline":"Authentication Bypass Without Administrator Privilege","id":"CVE-2023-33237","kev_date_added":null,"published":"2023-08-17"},{"cvss_score":8.8,"headline":"Second Order Command-injection Vulnerability in the Key-generation Function","id":"CVE-2023-34213","kev_date_added":null,"published":"2023-08-17"},{"cvss_score":7.5,"headline":"Weak cryptography in n/a","id":"CVE-2021-46559","kev_date_added":null,"published":"2022-01-26"},{"cvss_score":5.3,"headline":"TN-5900 Series User Enumeration Vulnerability","id":"CVE-2023-3336","kev_date_added":null,"published":"2023-07-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-10-28","vendors":["Moxa"]},"summary":"Attackers can execute remote code on Moxa TN-5900 switches via command injection in the certificate-generation function due to insufficient input validation.","url":"https://insights.sbomify.com/CVE-2023-34215/"}