vendor:
Gitlab
by:
Jasper Rasenberg
8.8
CVSS
HIGH
Arbitrary File Read
20
CWE
Product Name: Gitlab
Affected Version From: 12.9.0
Affected Version To: 12.9.0
Patch Exists: NO
Related CWE: N/A
CPE: a:gitlab:gitlab
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Kali Linux 2020.3
2020
Gitlab 12.9.0 – Arbitrary File Read (Authenticated)
This exploit allows an authenticated user to read arbitrary files on the system. The exploit uses the Gitlab API to create two projects, one with an issue containing a malicious description and the other to move the issue to. The malicious description contains a link to the file that is to be read. The exploit uses the private token of the user to authenticate the API requests.
Mitigation:
Ensure that users are not able to create personal access tokens with high privileges. Ensure that users are not able to create projects with malicious descriptions.