字号·· | 护眼
漏洞档案 · 严重

Zyxel 多款防火墙 OS 命令注入(CVE-2022-30525)

CVE-2022-30525 别名:GHSA-987M-9PRQ-3P7M
CVSS 9.8 / 3.1 EPSS 98.1% CISA KEV 在野利用 勒索软件利用 公开 PoC · 10 Nuclei 模板
综合风险100/ 100
CVSS9.8严重
EPSS98.1%30 天利用概率
机构收录时间2022-05-12更新 2026-11-29

研判简报

概述

Zyxel USG FLEX、ATP、VPN 系列防火墙的 CGI 程序存在 OS 命令注入漏洞(CWE-78),攻击者可先修改特定文件,再在设备上执行任意 OS 命令。漏洞位于面向公众的管理接口,利用无需认证,成功后可完全破坏设备的机密性、完整性与可用性。暴露在互联网的边界防火墙运维者、企业网络与 MSSP 应优先关注。

严重性

CVSS 3.1 评分 9.8(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H),综合风险分 100.0/100;EPSS 30 天利用概率 99.9%(百分位 100.0%,2026-11-24)。攻击面为可直接从网络访问的防火墙 Web/CGI 接口,属可自动化利用级别。

利用状态

CISA KEV 已收录(2022-05-16),已知存在勒索软件利用;CISA SSVC 判定 automatable=yes、exploitation=active、technical_impact=total。已有公开 Nuclei 模板(http/cves/2022/CVE-2022-30525.yaml)及 Exploit-DB/公开 PoC 共 10 条。以上状态核查日期为 2026-11-24。

受影响产品

Zyxel USG FLEX 100(W)/200/500/700 firmware 5.00 through 5.21 Patch 1;USG FLEX 50(W)、USG 20(W)-VPN firmware 5.10 through 5.21 Patch 1;ATP series firmware 5.10 through 5.21 Patch 1;VPN series firmware 4.60 through 5.21 Patch 1。组件为 CGI 程序(Nuclei 模板指向 /ztp/cgi-bin/handler),部署形态为边界防火墙设备。

修复版本

材料未给出官方修复版本号;KEV 要求动作仅为「Apply updates per vendor instructions.」(期限 2022-06-06),具体补丁版本需以 Zyxel 安全公告为准,材料未给出。

缓解措施

材料未给出具体的临时缓解配置;在无法立即升级时,可参考 KEV 要求按厂商指引处置,并限制管理接口的互联网暴露(此条为通用建议,材料未明确给出)。Nuclei 模板提供了 Shodan 查询指纹(如 title:"USG FLEX 100" 等)可用于资产发现。

响应步骤

  1. 按受影响版本区间与 Shodan 指纹清点资产,确认 USG FLEX、ATP、VPN 系列固件版本。
  2. 依据 Zyxel 官方安全公告升级至修复版本(材料未给出具体版本号,以公告为准)。
  3. 检查设备是否暴露于互联网,排查 /ztp/cgi-bin/handler 相关异常请求与可疑命令执行痕迹。
  4. 关注勒索软件利用迹象,核查设备配置、文件完整性与日志异常。
  5. 若发现入侵,按事件响应流程隔离设备、重置凭据并评估横向影响。

参考来源

  1. https://nvd.nist.gov/vuln/detail/CVE-2022-30525kev
  2. https://www.exploit-db.com/exploits/50946exploit,exploitdb
  3. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-30525.yamlexploit,nuclei
  4. https://www.zyxel.com/support/Zyxel-security-advisory-for-OS-command-injection-vulnerability-of-firewalls.shtmlx_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,advisory,euvd
  5. http://packetstormsecurity.com/files/167176/Zyxel-Remote-Command-Execution.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  6. http://packetstormsecurity.com/files/167182/Zyxel-Firewall-ZTP-Unauthenticated-Command-Injection.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  7. http://packetstormsecurity.com/files/167372/Zyxel-USG-FLEX-5.21-Command-Injection.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  8. http://packetstormsecurity.com/files/168202/Zyxel-Firewall-SUID-Binary-Privilege-Escalation.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  9. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-30525government-resource
  10. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_linux/http/zyxel_ztp_rceexploit,metasploit
  11. https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-52385advisory,euvd
  12. https://isc.sans.edu/feeds/urlsummary.txtkev
  13. https://euvd.enisa.europa.eu/enisa/EUVD-2022-52385kev
  14. https://www.cisa.gov/known-exploited-vulnerabilities-catalogkev
  15. https://blog.lumen.com/chaos-is-a-go-based-swiss-army-knife-of-malware/kev
  16. https://www.fortinet.com/blog/threat-research/zerobot-new-go-based-botnet-campaign-targets-multiple-vulnerabilitieskev