SecurityContext

CVE-2021-22171: GitLab Pages - Broken Authentication

  • Cve: CVE-2021-22171
  • Name: GitLab Pages - Broken Authentication
  • Description: Insufficient validation of authentication parameters in GitLab Pages for GitLab 11.5+ allows an attacker to steal a victim's API token if they click on a maliciously crafted link
  • Impact: Attackers can steal API tokens, leading to unauthorized access to user accounts and data.
  • Remediation: Update to the latest version of GitLab that addresses this issue or apply relevant security patches.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: information_disclosure
  • Requirement type: user_interaction
  • Requirements: Victim must click on a maliciously crafted link
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
  • Epss score: 0.01676
  • Epss percentile: 0.7736
  • Assignee: [email protected]
  • Published at: 2021-01-15T16:15:13Z
  • Age in days: 2139
  • Modified at: 2026-06-17T03:36:44Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-22171
  • 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

Cwe

IdName
CWE-287Improper Authentication

Hackerone

  • Reports: 1
  • Rank: 516

References

UrlSourceTags
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22171.jsonnvdVendor Advisory
https://hackerone.com/reports/718460nvdPermissions Required, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
gitlab:gitlab>= 13.7.0, < 13.7.2; >= 13.6.0, < 13.6.4; >= 11.5.0, < 13.5.6nonvd/v1/products/gitlab/gitlab

Index

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

Exploitation

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