Path traversal in GitLab Enterprise Edition and Gitlab Community Edition - CVE-2020-10977
Published: August 6, 2020 / Updated: May 3, 2021
Vulnerability identifier: #VU34098
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-10977
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when moving an issue between projects. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.
Affected software
GitLab Enterprise Edition
Gitlab Community Edition
Gitlab Community Edition
How to mitigate CVE-2020-10977
Install update from vendor's website.
GitLab Enterprise Edition - update to 12.9.1
Gitlab Community Edition - update to 12.9.1
Gitlab Community Edition - update to 12.9.1
Links to Public Exploits and PoC-codes
- Exploit #5332 - gitlab-cve-2020-10977 (GitLab Arbitrary File Read Exploit) (May 3, 2021)
- Exploit #5257 - CVE-2020-10977 (Exploit for "GitLab Instance" Arbitrary server file read vulnerability) (April 1, 2021)
- Exploit #5192 - CVE-2020-10977 (Gitlab v12.4.0-8.1 RCE) (March 7, 2021)
- Exploit #5100 - gitlab-12.9.0-file-read (A (wanted to be) better script than what can be found on exploit-db about the authenticated arbitrary read file on GitLab v12.9.0 (CVE-2020-10977)) (January 31, 2021)
- Exploit #5068 - cve-2020-10977 (GitLab 12.9 Arbitrary File Read) (January 24, 2021)
- Exploit #4903 - GitLab File Read Remote Code Execution (December 9, 2020)
- Exploit #4878 - CVE-2020-10977.py (authenticated arbitrary file read for Gitlab (CVE-2020-10977)) (November 26, 2020)
- Exploit #4871 - cve-2020-10977 (GitLab 12.9.0 Arbitrary File Read ) (November 21, 2020)