Hack The Sec - Leading Resource Of Linux Tutorial
GitLab SAML Authentication Bypass (CVE-2024-45409)

GitLab SAML Authentication Bypass (CVE-2024-45409)

GitLab version check for CVE-2024-45409 SAML bypass

CVE-2024-45409 allows an unauthenticated attacker to bypass GitLab SAML authentication under certain identity-provider configurations. Successful exploitation grants access to GitLab as an arbitrary user, including administrators on some setups.

Affected GitLab releases

  • GitLab CE/EE 15.8 before 17.1.8
  • GitLab CE/EE 17.2 before 17.2.5
  • GitLab CE/EE 17.3 before 17.3.2
  • Instances with SAML SSO enabled

Check version

gitlab-rake gitlab:env:info | grep -i version
curl -s https://gitlab.example.com/help | grep GitLab

Remediation

  • Upgrade to patched GitLab release from vendor
  • Review audit logs for new admin sessions from unknown IPs
  • Rotate personal access tokens and CI/CD secrets after patch
  • Enforce MFA for all admin accounts

Self-hosted GitLab on Linux is common in devops pipelines — patch priority: high.

H

About the author

I am a Linux Administrator and Security Expert. Through this site I share Linux tutorials, hardening guides and security news.

Comments