Path traversal in GitLab



Published: 2023-05-23 | Updated: 2024-02-14
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-2825
CWE-ID CWE-22
Exploitation vector Network
Public exploit Vulnerability #1 is being exploited in the wild.
Vulnerable software
Subscribe
Gitlab Community Edition
Universal components / Libraries / Software for developers

GitLab Enterprise Edition
Universal components / Libraries / Software for developers

Vendor GitLab, Inc

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Path traversal

EUVDB-ID: #VU76454

Risk: Medium

CVSSv3.1: 7.2 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:H/RL:O/RC:C]

CVE-ID: CVE-2023-2825

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: Yes

Description

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Gitlab Community Edition: 16.0.0

GitLab Enterprise Edition: 16.0.0

External links

http://about.gitlab.com/releases/2023/05/23/critical-security-release-gitlab-16-0-1-released/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

Yes. This vulnerability is being exploited in the wild.



###SIDEBAR###