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 313
    • Issues 313
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • 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
  • #2549
Closed
Open
Issue created Jun 18, 2021 by Maxime Besson@maxbes🔧Maintainer

[security:low, CVE-2021-35473] OAuth2 handler does not verify access token validity

Concerned version

Version: %2.0.4 to %2.0.11

Summary

  • Configure an OIDC client
  • Configure a OAuth2 handler
  • Set access token lifetime to 10 seconds
  • Use Access Token from OIDC client to access the OAuth2 handler => works
  • Wait 30 seconds
  • Use Access Token from OIDC client to access the OAuth2 handler => WORKS
  • /userinfo or /introspection correctly show that the token is expired

Logs

[debug] Found OAuth2 access token 597d0faa693e96f08823e73164c87366b586104f575dcc648cf7b90a88b8988e
[debug] Get OIDC session 597d0faa693e96f08823e73164c87366b586104f575dcc648cf7b90a88b8988e
# missing validation here
[debug] Get user session id 59941a30e71df1c86fb05e14eec697264ca38311b18c082731230af6f23f8787
Edited Jun 25, 2021 by Yadd
Assignee
Assign to
Time tracking