CVE-2023-7028
GitLab vulnerability analysis and mitigation

Overview

A critical vulnerability (CVE-2023-7028) was discovered in GitLab CE/EE affecting all versions from 16.1 prior to 16.1.6, 16.2 prior to 16.2.9, 16.3 prior to 16.3.7, 16.4 prior to 16.4.5, 16.5 prior to 16.5.6, 16.6 prior to 16.6.4, and 16.7 prior to 16.7.2. The vulnerability allows user account password reset emails to be delivered to an unverified email address, potentially leading to account takeover (GitLab Release).

Technical details

The vulnerability is related to a weak password recovery mechanism where attackers could manipulate the password reset functionality by intercepting and modifying the password reset request. The vulnerability has received a Critical severity rating with a CVSS v3.1 score of 10.0 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N). The issue was introduced in GitLab version 16.1.0 on May 1, 2023, as part of changes made to allow users to reset their password through a secondary email address (GitLab Release).

Impact

The vulnerability allows attackers to potentially take over GitLab accounts by changing passwords without user interaction, simply by knowing the victim's email address. Users with two-factor authentication enabled are partially protected, as while their password could be reset, the second authentication factor would still be required for login (GitLab Release).

Mitigation and workarounds

GitLab has released security patches for all affected versions. Organizations are strongly advised to upgrade to versions 16.1.6, 16.2.9, 16.3.7, 16.4.5, 16.5.6, 16.6.4, or 16.7.2 or newer. Additional recommended security measures include enabling Two-Factor Authentication (2FA) for all GitLab accounts, especially for users with elevated privileges, and rotating all secrets stored in GitLab including credentials, API tokens, and certificates (GitLab Release).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management