{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2024-50366 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-50366 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-50366 is a high-severity command injection vulnerability in Advantech EKI-6333AC-1GPO, published on 26 Nov 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-50366 and fix it if it is affected.\n\nWhat it is: CVE-2024-50366 is a high-severity command injection vulnerability in Advantech EKI-6333AC-1GPO, published on 26 Nov 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-50366 in the wild and no public exploit code.\n\nAffected product: Advantech EKI-6333AC-1GPO. 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-2024-50366/ (Markdown: https://insights.sbomify.com/CVE-2024-50366/index.md)","id":"CVE-2024-50366","markdown":"https://insights.sbomify.com/CVE-2024-50366/index.md","name":"CVE-2024-50366","record":{"aliases":["GHSA-3rqm-q78j-4f7q"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Advantech industrial switch","requires_auth":"high_privilege","summary":"Attackers can execute arbitrary OS commands via unsanitized parameters in the applications_apply API on Advantech EKI-6333AC devices.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Nozomi","cpe":[{"product":"eki-6333ac-1gpo_firmware","vendor":"advantech"},{"product":"eki-6333ac-2g_firmware","vendor":"advantech"},{"product":"eki-6333ac-2gd_firmware","vendor":"advantech"}],"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":"A CWE-78 \"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\" was discovered affecting the following devices manufactured by Advantech: EKI-6333AC-2G (\u003c= 1.6.3), EKI-6333AC-2GD (\u003c= v1.6.3) and EKI-6333AC-1GPO (\u003c= v1.2.1). The source of the vulnerability relies on multiple parameters belonging to the \"applications_apply\" API which are not properly sanitized before being concatenated to OS level commands.","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 EKI-6333AC-1GPO","id":"CVE-2024-50366","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Command injection in EKI-6333AC-1GPO","id":"CVE-2024-50367"},"packages":[],"prev":{"headline":"Command injection in EKI-6333AC-1GPO","id":"CVE-2024-50365"},"products":["EKI-6333AC-1GPO","EKI-6333AC-2G","EKI-6333AC-2GD"],"published":"2024-11-26","related":[{"cvss_score":9.8,"headline":"Command injection in EKI-6333AC-1GPO","id":"CVE-2024-50370","kev_date_added":null,"published":"2024-11-26"},{"cvss_score":9.8,"headline":"Command injection in EKI-6333AC-1GPO","id":"CVE-2024-50371","kev_date_added":null,"published":"2024-11-26"},{"cvss_score":9.8,"headline":"Command injection in EKI-6333AC-1GPO","id":"CVE-2024-50372","kev_date_added":null,"published":"2024-11-26"},{"cvss_score":9.8,"headline":"Command injection in EKI-6333AC-1GPO","id":"CVE-2024-50373","kev_date_added":null,"published":"2024-11-26"},{"cvss_score":9.8,"headline":"Command injection in EKI-6333AC-1GPO","id":"CVE-2024-50374","kev_date_added":null,"published":"2024-11-26"},{"cvss_score":9.8,"headline":"Missing authorization in EKI-6333AC-1GPO","id":"CVE-2024-50375","kev_date_added":null,"published":"2024-11-26"},{"cvss_score":7.3,"headline":"Cross-site scripting in EKI-6333AC-1GPO","id":"CVE-2024-50376","kev_date_added":null,"published":"2024-11-26"}],"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-11-26","vendors":["Advantech"]},"summary":"Attackers can execute arbitrary OS commands via unsanitized parameters in the applications_apply API on Advantech EKI-6333AC devices.","url":"https://insights.sbomify.com/CVE-2024-50366/"}