LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2023-7028: GitLab Community and Enterprise Editions Improper Access Control Vulnerability

RBRecent Breaches Vulnerability Intelligence·May 1, 2024
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
May 22, 2024
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2023-7028 to its Known Exploited Vulnerabilities catalog on May 1, 2024, with a federal patch deadline of May 22, 2024 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

GitLab Community and Enterprise Editions contain an improper access control vulnerability. This allows an attacker to trigger password reset emails to be sent to an unverified email address to…

CVE-2023-7028 is an improper access control flaw in GitLab Community Edition (CE) and Enterprise Edition (EE). It lets an attacker cause password-reset emails to be delivered to an email address that has not been verified for the target account, which can lead to full account takeover. Because GitLab often holds source code, credentials, CI/CD secrets and project access tokens, a successful takeover can give an attacker a foothold inside development and production environments. Teams that run self-managed GitLab instances should treat this as a high-priority access-control issue and confirm exact impact against the vendor advisory.

How it works

The vulnerability is classified as CWE-284 (Improper Access Control). In normal operation a password-reset flow should only send messages to addresses already confirmed for the account. The flaw allows an unauthenticated or low-privilege attacker to force the system to emit a reset message to an address of the attacker’s choosing. Once the attacker receives that message they can complete the reset and seize the account. Exact request parameters, authentication requirements and any preconditions are not detailed in the public summary; defenders must consult the vendor advisory for the precise abuse path and any required privileges.

Am I affected? How to find it in your systems

GitLab CE and EE are commonly deployed as self-hosted instances on Linux servers, virtual machines or containers, and are also offered as managed SaaS. Inventory every GitLab deployment by searching configuration-management databases, container registries, cloud asset inventories and network scans for the GitLab service ports and process names. Once located, record the installed edition (CE or EE) and version string; compare those values against the fixed versions listed in the vendor advisory. Pay special attention to instances that allow public registration or that have weak email-verification settings.

For detection of exploitation, review application and mail-server logs for password-reset requests that target addresses never previously associated with the account, or for a sudden spike in reset emails. Correlate those events with subsequent successful logins from unexpected source IPs or user-agents. If your SIEM or EDR already collects GitLab audit events, create alerts on “password reset” and “email change” actions that lack a preceding verification step.

How to remediate

The primary remediation is to apply the security update published by GitLab for the affected CE and EE releases. Follow the vendor’s upgrade instructions exactly, including any required database migrations or service restarts. After patching, verify that the version string matches a fixed release and re-test the password-reset flow to confirm that only verified addresses receive messages.

If you can't patch immediately

Until the vendor update can be applied, reduce exposure with compensating controls. Place the GitLab instance behind a reverse proxy or web application firewall that can rate-limit or block unauthenticated password-reset endpoints. Segment the host so that only trusted management networks can reach the administrative interface. If operationally feasible, temporarily disable self-service password reset and require administrators to perform resets through a verified out-of-band process. Increase logging verbosity for authentication and mail events and forward those logs to a monitored SIEM; alert on any reset request that references an address outside the corporate domain. These measures do not eliminate the vulnerability but shrink the window of opportunity for an attacker.

If your data may have been exposed

Actively exploited access-control flaws of this type frequently result in account takeovers and subsequent data theft. If you suspect compromise, treat the affected accounts as breached: force password resets, revoke tokens, and examine project repositories and CI logs for unauthorized changes. You can also run a free exposure scan of your email addresses against known breach data sets to determine whether credentials associated with those addresses have already appeared in public dumps. Document findings and follow your incident-response plan for credential and source-code exposure.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedGitLab · GitLab CE/EE
WeaknessCWE-284
Added to CISA KEVMay 1, 2024
Federal patch deadlineMay 22, 2024
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities