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

Fortinet FortiOS/FortiProxy/FortiSwitchManager 认证绕过(CVE-2022-40684)

CVE-2022-40684 别名:GHSA-M3WM-RJVF-M778
CVSS 9.8 / 3.1 EPSS 98.9% CISA KEV 在野利用 勒索软件利用 公开 PoC · 26 Nuclei 模板
综合风险100/ 100
CVSS9.8严重
EPSS98.9%30 天利用概率
机构收录时间2022-10-10更新 2026-11-29

研判简报

概述

FortiOS、FortiProxy 与 FortiSwitchManager 管理界面存在 CWE-288(使用替代路径或通道绕过认证)漏洞,未认证攻击者可通过特制 HTTP/HTTPS 请求在管理接口上执行操作。官方 FG-IR-22-377 确认已观察到实际利用,包括下载设备配置文件、添加名为 fortigate-tech-support 的 super_admin 恶意账户。由于管理面通常暴露于边界且利用无需凭据,互联网暴露 Fortinet 管理接口的运营方应优先关注。

严重性

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 天利用概率 100.0%(百分位 100.0%,2026-11-24)。攻击面为面向公众的 HTTP/HTTPS 管理接口,可自动化利用。

利用状态

CISA KEV 已收录(2022-10-11),要求动作「Apply updates per vendor instructions」,期限 2022-11-01;已知勒索软件利用;CISA SSVC:automatable=yes / exploitation=active / technical_impact=total。已有公开 Nuclei 模板(http/cves/2022/CVE-2022-40684.yaml),Exploit-DB/公开 PoC 共 26 条。以上状态核查日期为 2026-11-24。

受影响产品

FortiOS 7.2.0–7.2.1、7.0.0–7.0.6;FortiProxy 7.2.0、7.0.0–7.0.6;FortiSwitchManager 7.2.0、7.0.0。涉及管理界面组件,部署形态包括设备与 VM(FortiProxy VM 全版本在缓解说明中被提及)。

修复版本

官方 FG-IR-22-377 给出升级指引:FortiOS 升级至 7.0.5 B8001 或以上(适用于 FG6000F 与 7000E/F 系列平台);其余产品与版本的完整修复版本清单材料未给出。

缓解措施

官方临时方案:禁用 HTTP/HTTPS 管理接口;或通过防火墙地址/地址组与 local-in-policy 限制可访问管理接口的源 IP(非默认端口需建立对应自定义服务对象;HA 保留管理接口的 local-in-policy 配置方式不同,材料未给出细节)。FortiProxy VM 全版本或 FortiProxy 7.0.6 设备可将接口设为 dedicated-to management 并用 trust-ip 限制;FortiSwitchManager 仅建议禁用 HTTP/HTTPS 管理接口。

响应步骤

  1. 检查设备日志中是否存在 user=Local_Process_Access 迹象。
  2. 执行 show system admin,排查是否被添加 fortigate-tech-support 等未知 super_admin 账户。
  3. 评估配置文件是否被非授权下载,必要时按官方指引联系 customer support。
  4. 按官方指引升级至已发布修复版本,或立即实施上述缓解措施(禁用管理面 HTTP/HTTPS 或限制源 IP)。
  5. 对暴露于互联网的管理接口开展资产排查,并结合 Nuclei 模板与公开 PoC 验证修复效果。

参考来源

  1. https://www.fortiguard.com/psirt/FG-IR-22-377kev
  2. https://nvd.nist.gov/vuln/detail/CVE-2022-40684kev
  3. https://www.exploit-db.com/exploits/51092exploit,exploitdb
  4. https://www.exploit-db.com/exploits/52239exploit,exploitdb
  5. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-40684.yamlexploit,nuclei
  6. https://fortiguard.com/psirt/FG-IR-22-377x_transferred,advisory,euvd
  7. http://packetstormsecurity.com/files/169431/Fortinet-FortiOS-FortiProxy-FortiSwitchManager-Authentication-Bypass.htmlx_transferred,advisory,euvd
  8. http://packetstormsecurity.com/files/171515/Fortinet-7.2.1-Authentication-Bypass.htmlx_transferred,advisory,euvd
  9. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-40684government-resource
  10. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_linux/http/fortinet_authentication_bypass_cve_2022_40684exploit,metasploit
  11. https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-43955advisory,euvd
  12. https://euvd.enisa.europa.eu/enisa/EUVD-2022-43955kev
  13. https://www.cisa.gov/known-exploited-vulnerabilities-catalogkev
  14. https://isc.sans.edu/feeds/urlsummary.txtkev
  15. https://blog.cyble.com/2022/11/24/multiple-organisations-compromised-by-critical-authentication-bypass-vulnerability-in-fortinet-products-cve-2022-40684/kev
  16. https://web.archive.org/web/20230318134256/https://unit42.paloaltonetworks.com/network-security-trends-aug-oct-2022/kev