Group dashboard reveals number of projects and subgroups
A user with guest access to only one project in a private group could see the total number of projects and root-level subgroups in that group via the group dashboard. This revealed counts of resources the user did not have permission to view.
GitLab
Originally disclosed on GitLab
- Fixed in 2.7 years
- Disclosed after 2.7 years
HackerOne report #447804 by ashish_r_padelkar on 2018-11-20:
Summary:
If a private group has multiple projects, and user has access to only one project from it, they can still know number of projects within a group and number of subgroups (at root level)
Description:
When private Group has multiple projects and user has guest access to only one project within a group, they can still see how many projects and subgroups(root level) this group has. Note that, these are just counts they can see.
https://gitlab.com/dashboard/groups

The above shows, group has 0 sub groups at root level , 2 projects where as user has access to only one from it.
Regards, Ashish
Impact
Group dashboard reveals the number of projects and subgroups
Attachments
Warning: Attachments received through HackerOne, please exercise caution!
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the group dashboard did not filter the project and subgroup counts by the user's permissions.
Impact
The user could learn the number of projects and root-level subgroups in a private group, even though they only had access to one project.
What the attacker needed
A private group with multiple projects; guest access to one project in the group
How it was found
- Have a private group with multiple projects and a user with guest access to only one project.
- Log in as that user and visit the group dashboard.
- Observe the displayed counts of projects and root-level subgroups, which include items the user cannot access.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
In a private group, you should only see the projects you have access to. Here, the dashboard showed a count of all projects and subgroups, even those the user could not open. This let the user learn how many hidden items existed.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.