Skip to content
Access control Disclosed report Intermediate

Private group EPIC info visible for former sub group owners

A former sub-group owner could still see the titles of ancestor EPICs from a private parent group after transferring the sub-group to their own group. This allowed continued access to private EPIC information even after losing access to the parent group.

GitLab

Originally disclosed on GitLab

  • Fixed in 7 months
  • Disclosed after 7 months

HackerOne report #666892 by ashish_r_padelkar on 2019-08-03, assigned to jmatos_bgtvf:

Dev issue: https://dev.gitlab.org/gitlab/gitlab-ee/issues/396 Security issue: https://gitlab.com/gitlab-org/security/gitlab/issues/30

Summary

Hello,

Sub group EPICs can be added as child EPIC to parent group EPIC. When a sub group EPIC contains the ancestor EPICs, they are visible on right side menu.

The problem with this is, This section is still available when sub group owner moves the sub group to their own private group.

Steps to reproduce

  1. Create a private group named MainGroup with only User1 as owner and no other members
  2. Create a sub group named SubGroup inside it with additional owner User2
  3. Create EPIC in both MainGroup and SubGroup too
  4. Put SubGroup EPIC as Child EPIC to MainGroup EPIC.
  5. As User2 is owner of SubGroup , he can transfer this group to his own group. So, User2 transfers this group to his own group.
  6. By doing this, User2 doesnt have any access to Private group MainGroup of User1
  7. However, when User2 visits the EPIC of the SubGroup (in newly moved group), he still see the Ancestor EPIC from User1 Private MainGroup.
Screenshot_2019-08-04_at_01.02.07.png
Screenshot_2019-08-04_at_01.02.07.png From the original on GitLab
  1. So if User1 changes the names of EPIC in MainGroup. , User2 Still able to see the new names of such EPICs. Also User1 can not do anything about this as he cant see EPIC added from SubGroup in his MainGroup EPIC.

What is the current bug behavior?

New EPIC names visible to former owner of sub group if group is transferred by owner

What is the expected correct behavior?

EPIC info should not be available in such scenarios

Output of checks

This bug happens on GitLab.com and might be on omnibus installations too!

Regards,
Ashish

Impact

New EPIC titles are available to former owners of sub group if they themselves transfers the group

Attachments

Warning: Attachments received through HackerOne, please exercise caution!

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 application did not properly revoke access to ancestor EPIC data when a sub-group was transferred, leaving a reference to the original parent group's EPICs.

Impact

A former sub-group owner could continue to see the titles of EPICs from a private parent group, and would see any future name changes, even though they no longer had access to that parent group.

What the attacker needed

A GitLab account; ability to create groups and EPICs; victim has a private group with EPICs

How it was found

  1. Create a private group with only User1 as owner and no other members.
  2. Create a sub-group inside it with User2 as an additional owner.
  3. Create an EPIC in both the main group and the sub-group.
  4. Link the sub-group EPIC as a child to the main group EPIC.
  5. As User2, transfer the sub-group to their own group.
  6. As User2, visit the sub-group EPIC in the new group and observe the ancestor EPIC from the private main group.

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 GitLab, groups can contain sub-groups, and EPICs (like large tasks) can be linked between them. When a sub-group is moved to a new parent, the old parent's EPIC titles should no longer be visible to the sub-group's owner, but they were. This meant someone could keep seeing private EPIC names from a group they no longer belonged to.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from GitLab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.