Security Resilience

CVE-2024-4024

Auth Bypass in Gitlab 7.8.0 – 16.9.6

Public PoCAuth Bypass
Published
25 April 2024
Modified
12 December 2024
CVSS Score v3.1 7.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
EPSS Score 0.15 97th percentile
Risk Priority 65 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-4024 is a high-severity Authentication Bypass by Assumed-Immutable Data (CWE-302) vulnerability in Gitlab. Its CVSS base score is 7.3 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to IA-2 (Identification and Authentication (Organizational Users)) and IA-3 (Device Identification and Authentication) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

An issue has been discovered in GitLab CE/EE affecting all versions starting from 7.8 before 16.9.6, all versions starting from 16.10 before 16.10.4, all versions starting from 16.11 before 16.11.1. Under certain conditions, an attacker with their Bitbucket account credentials…

more

may be able to take over a GitLab account linked to another user's Bitbucket account, if Bitbucket is used as an OAuth 2.0 provider on GitLab.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1606.001 Web Cookies Credential Access
Adversaries may forge web cookies that can be used to gain access to web applications or Internet services.
T1684.002 Email Spoofing Stealth
Adversaries may fake, or spoof, a sender’s identity by modifying the value of relevant email headers in order to establish contact with victims under false pretenses.
T1606 Forge Web Credentials Credential Access
Adversaries may forge credential materials that can be used to gain access to web applications or Internet services.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-4784Same product: Gitlab Gitlab
CVE-2024-6678Same product: Gitlab Gitlab
CVE-2025-0605Same product: Gitlab Gitlab
CVE-2025-12653Same product: Gitlab Gitlab
CVE-2023-2001Same product: Gitlab Gitlab
CVE-2024-1347Same product: Gitlab Gitlab
CVE-2026-112212Same product: Gitlab Gitlab
CVE-2026-15723Same product: Gitlab Gitlab
CVE-2023-4018Same product: Gitlab Gitlab
CVE-2024-0861Same product: Gitlab Gitlab

Affected Assets

gitlab
gitlab
16.11.0 · 7.8.0 — 16.9.6 · 7.8.0 — 16.9.6 · 16.10.0 — 16.10.4

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V7.2.4

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Mandates unique identification and authentication of organizational users before access, directly stopping improper authentication.

Requires unique identification and authentication of devices before establishing connections, preventing unauthenticated device claims.

Mandates unique identification and authentication of non-organizational users, directly addressing the weakness for external actors.

Manages authenticators with verification and secure distribution, reducing opportunities for improper authentication.

Requires server-side enforcement of authorizations instead of trusting client-supplied mutable data for authentication decisions.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-03 mostly match
blocks

Strong authentication mechanisms directly avoid reliance on attacker-controlled immutable data.

PR.AA-04 mostly match
blocks

Protecting and verifying identity assertions prevents tampering with data assumed immutable during auth.

PR.AA-05 partial match
blocks

Least-privilege authorization policies reduce impact of bypassed authentication but do not address the root flaw.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can discover and block authentication bypasses that rely on mutable data.

blocks

Mandating segregated approval and oversight for non-human identities reduces the chance that weak or orphaned credentials can be exploited for unauthorized authentication.

prevents

Secure-coding standards prohibit trusting client-controlled data for authentication decisions.

prevents

A.8.30 carries its effect through the secure-design and secure-coding practices (8.25–8.28) its contract requires of the supplier, and CWE-302 is an ordinary software design/implementation weakness those practices reach; the clause's ceiling on this verb is `partial` because the mechanism is fallible human practice.

blocks

Secure authentication explicitly requires server-side validation of all identity claims, directly eliminating this weakness.

finds

A.8.8's reach is disclosure-based (vulnerability scanning, published advisories, component inventory), and CWE-302 is a first-party authentication design/implementation flaw; only the minority of instances that surface as published CVEs/advisories are found, mirroring the A.8.8 -> CWE-89 anchor where first-party code defects are mostly outside the disclosure reach.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-287, a class-level weakness. Rules are authored against its narrower children: CWE-295, CWE-306.

References