{"answers":{"affected":"It affects 22 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-33012 exists.","fix":"No fix has been published for CVE-2023-33012 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-33012 is a high-severity command injection vulnerability in Zyxel ATP series firmware, published on 17 Jul 2023. 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-2023-33012 and fix it if it is affected.\n\nWhat it is: CVE-2023-33012 is a high-severity command injection vulnerability in Zyxel ATP series firmware, published on 17 Jul 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-33012 exists.\n\nAffected product: Zyxel ATP series 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-33012/ (Markdown: https://insights.sbomify.com/CVE-2023-33012/index.md)","id":"CVE-2023-33012","markdown":"https://insights.sbomify.com/CVE-2023-33012/index.md","name":"CVE-2023-33012","record":{"aliases":["GHSA-r34v-7h65-289c"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Zyxel firewall firmware","requires_auth":"none","summary":"Unauthenticated LAN attackers can execute OS commands via crafted GRE configuration in Zyxel firewalls when cloud management is enabled.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Zyxel","cpe":[{"product":"usg_20w-vpn_firmware","vendor":"zyxel"},{"product":"usg_2200-vpn_firmware","vendor":"zyxel"},{"product":"usg_flex_100_firmware","vendor":"zyxel"},{"product":"usg_flex_100w_firmware","vendor":"zyxel"},{"product":"usg_flex_200_firmware","vendor":"zyxel"},{"product":"usg_flex_500_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":"zywall_atp100_firmware","vendor":"zyxel"},{"product":"zywall_atp100w_firmware","vendor":"zyxel"},{"product":"zywall_atp200_firmware","vendor":"zyxel"},{"product":"zywall_atp500_firmware","vendor":"zyxel"},{"product":"zywall_atp700_firmware","vendor":"zyxel"},{"product":"zywall_atp800_firmware","vendor":"zyxel"},{"product":"zywall_vpn100_firmware","vendor":"zyxel"},{"product":"zywall_vpn2s_firmware","vendor":"zyxel"},{"product":"zywall_vpn300_firmware","vendor":"zyxel"},{"product":"zywall_vpn50_firmware","vendor":"zyxel"},{"product":"zywall_vpn_100_firmware","vendor":"zyxel"},{"product":"zywall_vpn_300_firmware","vendor":"zyxel"},{"product":"zywall_vpn_50_firmware","vendor":"zyxel"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:N/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 command injection vulnerability in the configuration parser of the Zyxel ATP series firmware versions 5.10 through 5.36 Patch 2, USG FLEX series firmware versions 5.00 through 5.36 Patch 2,  USG FLEX 50(W) series firmware versions 5.10 through 5.36 Patch 2, USG20(W)-VPN series firmware versions 5.10 through 5.36 Patch 2, and VPN series firmware versions 5.00 through 5.36 Patch 2, could allow an unauthenticated, LAN-based attacker to execute some OS commands by using a crafted GRE configuration when the cloud management mode is enabled.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2024-01-24","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2024-01-24","kind":"metasploit","ref":"exploit/linux/http/zyxel_parse_config_rce","stars":null,"title":"Zyxel parse_config.py Command Injection"}],"tier":"weaponised"},"has_fix":null,"headline":"Command injection in ATP series firmware","id":"CVE-2023-33012","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":"Command injection in NBG6604 firmware","id":"CVE-2023-33013"},"packages":[],"prev":{"headline":"Command injection in ATP series firmware","id":"CVE-2023-33011"},"products":["ATP series firmware","USG FLEX 50(W) series firmware","USG FLEX series firmware","USG20(W)-VPN series firmware","VPN series firmware"],"published":"2023-07-17","related":[{"cvss_score":8.8,"headline":"Command injection in ATP series firmware","id":"CVE-2023-28767","kev_date_added":null,"published":"2023-07-17"},{"cvss_score":8.8,"headline":"Command injection in ATP series firmware","id":"CVE-2023-33011","kev_date_added":null,"published":"2023-07-17"},{"cvss_score":8,"headline":"Command injection in ATP series firmware","id":"CVE-2023-34138","kev_date_added":null,"published":"2023-07-17"},{"cvss_score":7.5,"headline":"Memory corruption in USG FLEX 50(W) firmware","id":"CVE-2023-22915","kev_date_added":null,"published":"2023-04-24"}],"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)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-05","vendors":["Zyxel"]},"summary":"Unauthenticated LAN attackers can execute OS commands via crafted GRE configuration in Zyxel firewalls when cloud management is enabled.","url":"https://insights.sbomify.com/CVE-2023-33012/"}