Skip to content
Info disclosure Disclosed report Beginner

Removed project members still can access private group information

A removed project member could still see private group information, including name, URL, image, description, and parent group changes, through the group dashboard. This allowed unintended tracking of private groups and disclosure of private group details.

GitLab

Originally disclosed on GitLab

  • Fixed in 58 days
  • Disclosed after 58 days

HackerOne report #1737696 by sateeshn on 2022-10-17:

Report

Report

Summary

Hi team,

I found that even when we remove the members from a private project or delete a project, Still project members can access private group information

Steps to reproduce
  1. User A create a private group and private project in it. (let's call it private-group1 and private-project1)
  2. User A Invites User B to a private-project1 then creates a test issue and assigns it to User B (in a real scenario user B is already a member and worked on issues)
  3. User A deletes the project(private-project1) or removes the access of User B
  4. Now User B opens a project https://gitlab.com/private-group1/private-project1 (He sees 404 not found because he is no more a member of a project)
  5. User B opens a group dashboard https://gitlab.com/dashboard/groups (can see that User A's private-group1 is listed there
  6. User A change a private-group1 URL/name/image/description and save
  7. User B opens a group dashboard https://gitlab.com/dashboard/groups (all updated information is disclosing)
  8. User A transfer a group private-group1 to private-group2
  9. User B opens a group https://gitlab.com/dashboard/groups (now see the private-group2 is listed)
  10. User A again transfers a private-group2 or private-group2 to any other group
  11. User B opens a group dashboard https://gitlab.com/dashboard/groups (see again new parent group is listed)

It keeps working, Until User A deletes the affected group private-group1.

Impact

Private group information disclosure and unintended Tracking of a private group.

Apart from it from the attacker's perspective, In step 5 User B sees a private project listed and he doesn't see any option to delete or exit from the group. Here attacker might create any number of private groups with private projects> invite User B to a project > delete a project. Now when user B opens a group dashboard he sees a flood of groups listed those he can't do anything.

The original report as published on GitLab. Images and videos are our own copies; raw HTML is shown as text. View it on GitLab.

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 properly filter out groups that the user no longer had access to after being removed from a project.

Impact

Private group information could be disclosed and private groups could be tracked by removed members, though the attacker could not modify or delete the groups.

What the attacker needed

Attacker must be a GitLab user; victim must invite attacker to a private project; victim must later remove attacker or delete project

How it was found

  1. User A creates a private group and a private project inside it.
  2. User A invites User B to the private project and assigns an issue to User B.
  3. User A deletes the project or removes User B's access.
  4. User B opens the project URL and sees a 404 error.
  5. User B opens the group dashboard and sees the private group listed.
  6. User A changes the group's URL, name, image, or description, and User B sees the updates on the dashboard.

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.

When someone is removed from a private project, they should lose all access to that project and its group. Here, the removed user could still see the private group's details and changes on their dashboard, which is a privacy leak.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from GitLab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.