{"answers":{"affected":"It affects 42 products.","exploited":"There is no known exploitation of CVE-2023-6398 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-6398 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-6398 is a high-severity command injection vulnerability in Zyxel  NWA50AX firmware, published on 20 Feb 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-6398 and fix it if it is affected.\n\nWhat it is: CVE-2023-6398 is a high-severity command injection vulnerability in Zyxel  NWA50AX firmware, published on 20 Feb 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-6398 in the wild and no public exploit code.\n\nAffected product: Zyxel  NWA50AX firmware. 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-6398/ (Markdown: https://insights.sbomify.com/CVE-2023-6398/index.md)","id":"CVE-2023-6398","markdown":"https://insights.sbomify.com/CVE-2023-6398/index.md","name":"CVE-2023-6398","record":{"aliases":["GHSA-p6jh-65c7-8r26"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Zyxel network firmware","requires_auth":"high_privilege","summary":"Authenticated administrators can execute OS commands via FTP in Zyxel network device firmware, requiring vendor patches.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Zyxel","cpe":[{"product":"atp100_firmware","vendor":"zyxel"},{"product":"atp100w_firmware","vendor":"zyxel"},{"product":"atp200_firmware","vendor":"zyxel"},{"product":"atp500_firmware","vendor":"zyxel"},{"product":"atp700_firmware","vendor":"zyxel"},{"product":"atp800_firmware","vendor":"zyxel"},{"product":"nwa110ax_firmware","vendor":"zyxel"},{"product":"nwa1123acv3_firmware","vendor":"zyxel"},{"product":"nwa210ax_firmware","vendor":"zyxel"},{"product":"nwa220ax-6e_firmware","vendor":"zyxel"},{"product":"nwa50ax-pro_firmware","vendor":"zyxel"},{"product":"nwa50ax_firmware","vendor":"zyxel"},{"product":"nwa55axe_firmware","vendor":"zyxel"},{"product":"nwa90ax-pro_firmware","vendor":"zyxel"},{"product":"nwa90ax_firmware","vendor":"zyxel"},{"product":"uos","vendor":"zyxel"},{"product":"usg20-vpn_firmware","vendor":"zyxel"},{"product":"usg20w-vpn_firmware","vendor":"zyxel"},{"product":"usg_flex_100_firmware","vendor":"zyxel"},{"product":"usg_flex_100ax_firmware","vendor":"zyxel"},{"product":"usg_flex_100h_firmware","vendor":"zyxel"},{"product":"usg_flex_100w_firmware","vendor":"zyxel"},{"product":"usg_flex_200_firmware","vendor":"zyxel"},{"product":"usg_flex_200h_firmware","vendor":"zyxel"},{"product":"usg_flex_200hp_firmware","vendor":"zyxel"},{"product":"usg_flex_500_firmware","vendor":"zyxel"},{"product":"usg_flex_500h_firmware","vendor":"zyxel"},{"product":"usg_flex_50_firmware","vendor":"zyxel"},{"product":"usg_flex_50w_firmware","vendor":"zyxel"},{"product":"usg_flex_700_firmware","vendor":"zyxel"},{"product":"usg_flex_700h_firmware","vendor":"zyxel"},{"product":"wac500_firmware","vendor":"zyxel"},{"product":"wac500h_firmware","vendor":"zyxel"},{"product":"wax300h_firmware","vendor":"zyxel"},{"product":"wax510d_firmware","vendor":"zyxel"},{"product":"wax610d_firmware","vendor":"zyxel"},{"product":"wax620d-6e_firmware","vendor":"zyxel"},{"product":"wax630s_firmware","vendor":"zyxel"},{"product":"wax640s-6e_firmware","vendor":"zyxel"},{"product":"wax650s_firmware","vendor":"zyxel"},{"product":"wax655e_firmware","vendor":"zyxel"},{"product":"wbe660s_firmware","vendor":"zyxel"}],"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 post-authentication command injection vulnerability in the file upload binary in Zyxel ATP series firmware versions from 4.32 through 5.37 Patch 1, USG FLEX series firmware versions from 4.50 through 5.37 Patch 1, USG FLEX 50(W) series firmware versions from 4.16 through 5.37 Patch 1, USG20(W)-VPN series firmware versions from 4.16 through 5.37 Patch 1, \n\nUSG FLEX H series firmware versions from 1.10 through 1.10 Patch 1,\n\nNWA50AX firmware versions through 6.29(ABYW.3), WAC500 firmware versions through 6.65(ABVS.1), WAX300H firmware versions through 6.60(ACHF.1), and WBE660S firmware versions through 6.65(ACGG.1) could allow an authenticated attacker with administrator privileges to execute some operating system (OS) commands on an affected device via FTP.","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 NWA50AX firmware","id":"CVE-2023-6398","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":"Denial of service in USG FLEX 50(W) series firmware","id":"CVE-2023-6399"},"packages":[],"prev":{"headline":"Null dereference in ATP series firmware","id":"CVE-2023-6397"},"products":[" NWA50AX firmware"," WAC500 firmware","ATP series firmware","USG FLEX 50(W) series firmware","USG FLEX H series firmware","USG FLEX series firmware","USG20(W)-VPN series firmware","WAX300H firmware","WBE660S firmware"],"published":"2024-02-20","related":[{"cvss_score":9.8,"headline":"Zyxel Multiple Firewalls Buffer Overflow","id":"CVE-2023-33009","kev_date_added":"2023-06-05","published":"2023-05-24"},{"cvss_score":9.8,"headline":"Zyxel Multiple Firewalls Buffer Overflow","id":"CVE-2023-33010","kev_date_added":"2023-06-05","published":"2023-05-24"},{"cvss_score":9.8,"headline":"Zyxel Multiple Firewalls OS Command Injection","id":"CVE-2023-28771","kev_date_added":"2023-05-31","published":"2023-04-25"},{"cvss_score":9.8,"headline":"Zyxel Multiple Firewalls OS Command Injection","id":"CVE-2022-30525","kev_date_added":"2022-05-16","published":"2022-05-12"},{"cvss_score":9.8,"headline":"Zyxel Multiple Products Use of Hard-Coded Credentials","id":"CVE-2020-29583","kev_date_added":"2021-11-03","published":"2020-12-22"},{"cvss_score":9.8,"headline":"Zyxel Multiple NAS Devices OS Command Injection","id":"CVE-2020-9054","kev_date_added":"2022-03-25","published":"2020-03-04"},{"cvss_score":9.8,"headline":"Auth bypass in ATP series firmware","id":"CVE-2022-0342","kev_date_added":null,"published":"2022-03-28"}],"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-08-25","vendors":["Zyxel"]},"summary":"Authenticated administrators can execute OS commands via FTP in Zyxel network device firmware, requiring vendor patches.","url":"https://insights.sbomify.com/CVE-2023-6398/"}