Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab FOSS
GitLab FOSS
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • Container Registry
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #30420

Closed
Open
Opened Apr 04, 2017 by Chris@MrChrisW☯
  • Report abuse
  • New issue
Report abuse New issue

GitLab LDAP integration vulnerable to MITM attack

Overview

By default the ruby-net-ldap gem does not enabled SSL verification unless configured via tls_options.

GitLab uses the omniauth-ldap library for LDAP auth. There is currently an open issue LDAP Server certificate not validated which describes the SSL verification problem.

I've lodged this issue here for posterity. We should either address it upstream or in our fork.

Problem

As no verification is performed on the SSL certificate an attacker could easily impersonate an LDAP server.

Solution

We should patch our fork of the omniauth-ldap library to pass and verify SSL certificates by default.

cc @briann @dblessing @stanhu


  • https://gitlab.zendesk.com/agent/tickets/71302

Related issues

  • Discussion
  • Designs
Assignee
Assign to
9.5
Milestone
9.5
Assign milestone
Time tracking
None
Due date
None
8
Labels
Deliverable Next Patch Release Platform [DEPRECATED] S3 backend external services ldap security
Assign labels
  • View project labels
Reference: gitlab-org/gitlab-foss#30420