{"answers":{"affected":"It affects 25 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-30526 exists.","fix":"No fix has been published for CVE-2022-30526 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-30526 is a high-severity vulnerability in Zyxel ATP series firmware, published on 19 Jul 2022. 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-2022-30526 and fix it if it is affected.\n\nWhat it is: CVE-2022-30526 is a high-severity vulnerability in Zyxel ATP series firmware, published on 19 Jul 2022. 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-2022-30526 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-2022-30526/ (Markdown: https://insights.sbomify.com/CVE-2022-30526/index.md)","id":"CVE-2022-30526","markdown":"https://insights.sbomify.com/CVE-2022-30526/index.md","name":"CVE-2022-30526","record":{"aliases":["GHSA-8f7x-36qv-2prx"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Zyxel USG/ATP firmware","requires_auth":"low_privilege","summary":"A local attacker can execute OS commands with root privileges via a CLI command vulnerability in Zyxel USG and ATP series firmware.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"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":"usg20-vpn_firmware","vendor":"zyxel"},{"product":"usg20w-vpn_firmware","vendor":"zyxel"},{"product":"usg40_firmware","vendor":"zyxel"},{"product":"usg40w_firmware","vendor":"zyxel"},{"product":"usg60_firmware","vendor":"zyxel"},{"product":"usg60w_firmware","vendor":"zyxel"},{"product":"usg_2200-vpn_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_50w_firmware","vendor":"zyxel"},{"product":"usg_flex_700_firmware","vendor":"zyxel"},{"product":"vpn1000_firmware","vendor":"zyxel"},{"product":"vpn100_firmware","vendor":"zyxel"},{"product":"vpn300_firmware","vendor":"zyxel"},{"product":"vpn50_firmware","vendor":"zyxel"},{"product":"zywall_1100_firmware","vendor":"zyxel"},{"product":"zywall_110_firmware","vendor":"zyxel"},{"product":"zywall_310_firmware","vendor":"zyxel"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"A privilege escalation vulnerability was identified in the CLI command of Zyxel USG FLEX 100(W) firmware versions 4.50 through 5.30, USG FLEX 200 firmware versions 4.50 through 5.30, USG FLEX 500 firmware versions 4.50 through 5.30, USG FLEX 700 firmware versions 4.50 through 5.30, USG FLEX 50(W) firmware versions 4.16 through 5.30, USG20(W)-VPN firmware versions 4.16 through 5.30, ATP series firmware versions 4.32 through 5.30, VPN series firmware versions 4.30 through 5.30, USG/ZyWALL series firmware versions 4.09 through 4.72, which could allow a local attacker to execute some OS commands with root privileges in some directories on a vulnerable device.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2022-06-14","github_poc":1,"max_poc_stars":1,"metasploit":1,"nuclei":0,"refs":[{"date":"2022-09-01T07:15:09Z","kind":"github_poc","ref":"https://github.com/greek0x0/CVE-2022-30526","stars":1,"title":"Metasploit exploit for CVE-2022-30526"},{"date":"2022-06-14","kind":"metasploit","ref":"exploit/linux/local/zyxel_suid_cp_lpe","stars":null,"title":"Zyxel Firewall SUID Binary Privilege Escalation"}],"tier":"weaponised"},"has_fix":null,"headline":"Privilege escalation in ATP series firmware","id":"CVE-2022-30526","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"Privilege escalation in SINEC NMS","id":"CVE-2022-30527"},"packages":[],"prev":{"headline":"Zyxel Multiple Firewalls OS Command Injection","id":"CVE-2022-30525"},"products":["ATP series firmware","USG 20(W)-VPN firmware","USG FLEX 100(W) firmware","USG FLEX 200 firmware","USG FLEX 50(W) firmware","USG FLEX 500 firmware","USG FLEX 700 firmware","USG/ZyWALL series firmware","VPN series firmware"],"published":"2022-07-19","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)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Zyxel"]},"summary":"A local attacker can execute OS commands with root privileges via a CLI command vulnerability in Zyxel USG and ATP series firmware.","url":"https://insights.sbomify.com/CVE-2022-30526/"}