CVE-2023-2825 in gitlab
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
An issue has been discovered in GitLab CE/EE affecting only version 16.0.0. An unauthenticated malicious user can use a path traversal vulnerability to read arbitrary files on the server when an attachment exists in a public project nested within at least five groups.
Affected software: gitlab
Scores
- CVSS: 7.5 (high)
- EPSS: 71.64% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2023-05-26
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Upgrade GitLab 16.0.0 to 16.0.1 or later
Patch or upgrade. GitLab 16.0.1 fixes the path traversal in project uploads, so an unauthenticated user can no longer read any file on the server through a public project nested in five or more groups (CVE-2023-2825).
Applies to: GitLab CE and EE 16.0.0 only.
- Check the version under Admin Area > Dashboard or with gitlab-rake gitlab:env:info.
- Back up with gitlab-backup create.
- Upgrade the package or image to 16.0.1 or a later release and run gitlab-ctl reconfigure.
- Rerun the vulnerability scan and confirm CVE-2023-2825 is no longer reported.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.