.. / CVE-2022-2185

Exploit for GitLab CE/EE - Remote Code Execution (CVE-2022-2185)

Description:

GitLab CE/EE 14.0 prior to 14.10.5, 15.0 prior to 15.0.4, and 15.1 prior to 15.1.1 is susceptible to remote code execution. An authenticated user authorized to import projects can import a maliciously crafted project, thus possibly being able to execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials.

Nuclei Template

View the template here CVE-2022-2185.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2022/CVE-2022-2185.yaml
Copy

References:

https://gitlab.com/gitlab-org/gitlab/-/issues/366088
https://gitlab.com/gitlab-com/gl-security/threatmanagement/redteam/redteam-public/cve-hash-harvester
https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2185.json
https://nvd.nist.gov/vuln/detail/CVE-2022-2185
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2185