SecurityContext

CVE-2024-5470: GitLab - Privilege Escalation

  • Cve: CVE-2024-5470
  • Name: GitLab - Privilege Escalation
  • Description: An issue was discovered in GitLab CE/EE affecting all versions starting from 17.0 prior to 17.0.4 and from 17.1 prior to 17.1.2 where a Guest user with `admin_push_rules` permission may have been able to create project-level deploy tokens.
  • Impact: Guest users with `admin_push_rules` permission can create project deploy tokens, potentially leading to unauthorized access or actions within the project.
  • Remediation: Update to GitLab version 17.0.4 or later, or 17.1.2 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs to be a guest user with `admin_push_rules` permission
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 2.7
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.00331
  • Epss percentile: 0.26722
  • Assignee: [email protected]
  • Published at: 2024-07-11T07:15:04Z
  • Age in days: 866
  • Modified at: 2026-06-17T08:16:00Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-5470
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-284Improper Access Control
NVD-CWE-noinfo—

References

UrlSourceTags
https://hackerone.com/reports/2521480nvdPermissions Required

Products

ProductAffectedPlatform boundSourcesUrl
gitlab:gitlab>= 17.1.0, < 17.1.2; >= 17.0.0, < 17.0.4nonvd/v1/products/gitlab/gitlab

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 66493
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports