Path traversal in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2023-2825

 

Path traversal in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2023-2825

Published: May 23, 2023 / Updated: July 26, 2024


Vulnerability identifier: #VU76454
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-2023-2825
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when an attachment exists in a public project nested within at least five groups. A remote attacker can read arbitrary file on the server.


Affected software

Gitlab Community Edition
GitLab Enterprise Edition

How to mitigate CVE-2023-2825

Install update from vendor's website.

Gitlab Community Edition - update to 16.0.1
GitLab Enterprise Edition - update to 16.0.1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins