Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • lemonldap-ng lemonldap-ng
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 314
    • Issues 314
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LemonLDAP NGLemonLDAP NG
  • lemonldap-nglemonldap-ng
  • Issues
  • #2612
Closed
Open
Issue created Sep 10, 2021 by Maxime Besson@maxbes🔧Maintainer

[Security: low, CVE-2021-40874] RESTServer pwdConfirm always returns true with Combination + Kerberos

Concerned version

Version: 2.0.13

Summary

Summarize the bug encountered concisely

  • Enable restPasswordServer
  • Configure Combination [Kerberos, Demo] or [Demo] (works with LDAP too)
  • use /proxy/pwdConfirm to validate dwho/wrongpassword => returns true

Logs

[debug] Entering REST pwdConfirm method
[debug] Processing getUser
[debug] Processing authenticate
[debug]  -> authResult = 0

Because authenticate always returns OK in Auth::Kerberos

See also #2611

Low severity because this feature is probably not used by anyone. To successfully exploit this, a user must have deployed another application that relies on pwdConfirm to validate passwords (such as another LLNG instance using Auth::REST)

Edited Sep 13, 2021 by Maxime Besson
Assignee
Assign to
Time tracking