Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 54.9k
    • Issues 54.9k
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1.5k
    • Merge requests 1.5k
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #25414
Closed
Open
Issue created Nov 26, 2018 by GitLab SecurityBot@gitlab-securitybotReporter

Guests can see name of the groups shared in projects

HackerOne report #447817 by ashish_r_padelkar on 2018-11-20:

Summary: Hello,

There is no documentation for this i guess but i assume that Developer and lower level users can not see list of groups that is shared in projects at https://gitlab.com/<Project>/project_members

Here, they can only see individual members.

Description:

It is possible for users with Developer and lower level to see if the project is shared with groups

The endpoint responsible for this is https://gitlab.com/autocomplete/project_groups.json?project_id=<ProjectID>

This will list all the names of the group(even if private)

Steps To Reproduce:

  1. As a Developer or lower level role, visit https://gitlab.com/<Project>/project_members . You will not see groups that are shared in this project

  2. Now using https://gitlab.com/autocomplete/project_groups.json?project_id=<ProjectID> , you can see the names!

Supporting Material/References:

I found this endpoint in autocomplete dropdown in protected branch and protected tag at /settings/repository in Allowed to merge dropdown

Regards, Ashish

Impact

Guest can see groups shared in projects

Edited Nov 26, 2018 by Dennis Appelt
Assignee
Assign to
Time tracking