CVE-2023-7028 GitLab Community and Enterprise Editions Improper Access Control
Attackers can take over user accounts by receiving password reset emails sent to unverified addresses due to a flaw in the password recovery mechanism.
- Exploited in the wild
- Since 1 May 2024
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-7028?
CVE-2023-7028 is a critical authentication bypass vulnerability in Gitlab Gitlab, published on 12 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue has been 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 in which user account password reset emails could be delivered to an unverified email address.
Weakness: CWE-640
Which versions are affected by CVE-2023-7028?
1 open source package ship an affected version, including gitlab. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gitlab Bitnami | From 16.1.0 | 16.1.6, 16.2.9, 16.3.7, 16.4.5, 16.5.6, 16.6.4, 16.7.2 |
Products include Gitlab Gitlab.
How do I fix CVE-2023-7028?
Upgrade gitlab to a fixed version for your release line: 16.1.6, 16.2.9, 16.3.7 or 16.4.5. US federal agencies must fix it by 22 May 2024.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2023-7028 being exploited?
Yes. Attackers have exploited CVE-2023-7028 in the wild since at least 1 May 2024.
Public exploit code: 1 Metasploit module, 1 Exploit-DB entry, 1 Nuclei template and 18 proofs of concept on GitHub.
Other vulnerabilities in Gitlab Gitlab
- CVE-2026-97229 GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound
- CVE-2026-85706 GitLab Community Edition and Enterprise Edition Path Traversal
- CVE-2021-22205 GitLab Community and Enterprise Editions Remote Code Execution
- CVE-2021-39935 GitLab Community and Enterprise Editions Server-Side Request Forgery (SSRF)
- CVE-2021-22175 GitLab Server-Side Request Forgery (SSRF)
Sources
Also known as BIT-gitlab-2023-7028, GHSA-mgg5-84cv-fc3c, UBUNTU-CVE-2023-7028.