确定远程 F5 BIG-IP 管理接口上运行的软件版本。由 Bishop Fox Cosmos 团队 用 ❤️ 开发。
CVE-2022-1388 是 F5 BIG-IP 管理接口中的一个严重漏洞,允许攻击者绕过认证并远程执行任意系统命令。Bishop Fox 开发了一款 BIG-IP 扫描器,可用于确定:
在 Bishop Fox 博客上查看该工具的完整文章,其中包含构建版本表所用方法的完整介绍。
git clone https://github.com/bishopfox/bigip-scanner.git && cd bigip-scanner
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -U pip
python3 -m pip install -r requirements.txt
$ python3 bigip-scanner.py -h
usage: bigip-scanner.py [-h] -t TARGET [-v VERSION_TABLE] [-a] [-d]
Determine the running software version of a remote F5 BIG-IP management interface.
Developed with ❤️ by the Bishop Fox Cosmos team.
optional arguments:
-h, --help show this help message and exit
-t TARGET https://example.com
-v VERSION_TABLE version-table.csv
-a request all resources; don't stop after an exact match
-d debug mode
在以下示例中,https://example.com/tmui/tmui/login/images/logo_f5.png 的 HTTP 响应头表明其运行的是 BIG-IP 版本 16.1.2-0.0.18,根据 F5 的安全公告,该版本处于 CVE-2022-1388 的_受影响_范围内。
$ python3 bigip-scanner.py -t https://example.com | jq
[
{
"version": "16.1.2-0.0.18",
"precision": "exact",
"modification_time": "2021-10-23T21:06:13Z",
"release_number": "16.1.2",
"release_type": "Maintenance",
"image_name": "BIGIP-16.1.2-0.0.18",
"release_date": "11/02/2021",
"target": "https://example.com",
"resource": "/tmui/tmui/login/images/logo_f5.png",
"header_name": "ETag",
"header_value": "1fe7-5db411548c100"
}
]
使用此工具攻击未事先获得双方同意的目标是违法的。最终用户有责任遵守所有适用的地方、州和联邦法律。开发者不承担任何责任,也不对此程序造成的任何滥用或损害负责。
本项目采用 MIT 许可证 授权。