
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-2825 is a critical path traversal vulnerability discovered in GitLab Community Edition (CE) and Enterprise Edition (EE) version 16.0.0. The vulnerability was discovered by a security researcher known as 'pwnie' through HackerOne's bug bounty program and was patched in version 16.0.1 released on May 23, 2023. This vulnerability allows an unauthenticated malicious user to read arbitrary files on the server when an attachment exists in a public project nested within at least five groups (GitLab Release, SentinelOne Blog).
The vulnerability is classified with a CVSS score of 10.0 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N). The bug was introduced in version 16.0.0 when a new method named retrievefromstore() was added in the file /app/uploaders/object_storage.rb to handle the @filename variable. The vulnerability stems from improper sanitization of file paths, allowing path traversal sequences to be injected. The number of directories that can be traversed is directly related to the number of groups the project is nested within, following an N + 1 rule (WatchTowr Labs).
The vulnerability enables unauthorized access to arbitrary files on the server, potentially exposing sensitive data including proprietary source code, user data, and crucial configuration details. The impact is particularly severe as it requires no authentication and can be exploited remotely (SecurityOnline).
The primary mitigation is to upgrade to GitLab version 16.0.1 or later, which includes the security patch. For organizations unable to upgrade immediately, alternative mitigations include disabling public projects to prevent unauthenticated users from exploiting the vulnerability, filtering attachments, and monitoring systems for signs of exploitation such as unauthorized file access or unusual network traffic (SentinelOne Blog).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."