Advisory 2024-0070 - GitLab: Multiple Vulnerabilities
The CTI portal is available at the following address: https://cti-portal.telekom.net/advisories/2024-0070
5 |
|
4 |
|
- Date
- 2024-01-12
- Release
- 2024-01-12
Operating System
- Linux
- UNIX
Software
- Open Source GitLab < 16.5.6
- Open Source GitLab < 16.6.4
- Open Source GitLab < 16.7.2
Attack
A remote attacker can exploit multiple vulnerabilities in GitLab in order to gain user privileges, manipulate data, and bypass security measures.
Description
GitLab is a web application for version management for software projects based on git.
CVE-2023-2030
There is a vulnerability in GitLab. An attacker can exploit this to modify the metadata of signed commits.
CVE-2023-4812
There is a vulnerability in GitLab. The required CODEOWNERS approval can be bypassed by adding changes to a previously approved merge request. An attacker can exploit this to bypass security mechanisms. Successful exploitation requires a user interaction.
CVE-2023-5356
A vulnerability exists in GitLab due to improper authorization checks regarding the Slack/Mattermost integration. An authenticated attacker can exploit this to execute "slash" commands as another user.
CVE-2023-6955
There is a vulnerability in GitLab due to an improper access control. An attacker can bypass this and subsequently create a workspace in one group that is associated with an agent from another group.
CVE-2023-7028
There is a vulnerability in GitLab. In the password reset function, multiple email addresses can be passed via URL manipulation. As long as one of these addresses belongs to a valid user account, the password reset token is sent to all specified addresses. A remote, anonymous attacker can exploit this to take over arbitrary user accounts, when they are not secured by multi-factor authentication.
Various PoCs exist on the Internet for the vulnerability CVE-2023-7028, e.g. on Twitter / X.
Recommendation
The developers provide updates. Please update your installation and see the vendor's advisory to find the proper version suitable for your environment.
https://about.gitlab.com/releases/2024/01/11/critical-security-release-gitlab-16-7-2-released/
Information
GitLab Critical Security Release: 16.7.2, 16.6.4, 16.5.6 dated 2024-01-11
https://about.gitlab.com/releases/2024/01/11/critical-security-release-gitlab-16-7-2-released/
CVE-2023-7028 PoC
https://twitter.com/h4x0r_dz/status/1745722638809305440
References
CVE:CVE-2023-2030CVE:CVE-2023-4812
CVE:CVE-2023-5356
CVE:CVE-2023-6955
CVE:CVE-2023-7028
Disclaimer
*The probability of an attack is determined by the attacker's motivation, the necessary expend and the possibilities for an attack. The damage probability is determined by the expend needed to resolute the attack and probable indirect consequences of an attack for business processes. Telekom Security assumes worst case scenarios.
Copyright © 1999-2026 Deutsche Telekom Security GmbH. All rights reserved. Reproduction and distribution of this publication in any form - even in parts - without prior written permission is forbidden.
The information contained herein has been obtained from sources believed to be reliable and trusted or have been verified. Telekom Security can take liability for completeness, accuracy and correctness only in so far, as gross negligence or intention create liability. Any liability beyond it, in particular possible damages resulting from using or non-usability of the information contained herein, is excluded.