| Title | GitLab CE/EE - Remote Code Execution |
|---|---|
| Author | GitLab Red Team |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected GitLab instance. |
| Remediation | Upgrade to GitLab CE/EE version 13.10.3 or 13.11.1 to mitigate this vulnerability. |
| CVSS Score | 10 |
| EPSS Score | 0.94467 |
| CVE ID | CVE-2021-22205 |
| CWE ID | CWE-94 |
| Shodan Query | http.title:"GitLab"cpe:"cpe:2.3:a:gitlab:gitlab"http.title:"gitlab" |
| Fofa Query | title="gitlab" |
| Tags | cve2021 cve kev hackerone gitlab rce vkev vuln |
GitLab CE/EE starting from 11.9 does not properly validate image files that were passed to a file parser, resulting in a remote command execution vulnerability. This template attempts to passively identify vulnerable versions of GitLab without the need for an exploit by matching unique hashes for the application-
GET /users/sign_in HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/7.1.2 Safari/537.85.11
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-22205.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-22205.pcap
N/AN/A