Skip to content
Info disclosure Disclosed report Beginner

Private subgroup path visible in epic timeline when child epic is added.

A private subgroup's path was disclosed in the timeline of a public group's epic when an epic from the private subgroup was added as a child epic. Any user could see the private subgroup name and path without having access to it.

GitLab

Originally disclosed on GitLab

  • Fixed in 4 months
  • Disclosed after 4 months

HackerOne report #638516 by ashish_r_padelkar on 2019-07-09, assigned to akelly:

Summary

Hello,

When public group has private sub group inside it, none of the information should be visible publicly.

However, if private sub group epic is added as a child epic to public group parent group, the timeline activity discloses the name of the private sub group.

Steps to reproduce

  1. Create a public group
  2. Create a private sub group inside it
  3. Create a epic inside private sub group and set its due dates
  4. Create an epic inside the public group
  5. Add the private epic to public group epic as child epic.
  6. now login as any other user and navigate to public group epic and see the timeline. You should see the timeline activity of epic added from private sub group which discloses private sub group path.
Screenshot_2019-07-10_at_01.32.26.png
Screenshot_2019-07-10_at_01.32.26.png From the original on GitLab

Examples

You can see the timeline activity here. https://gitlab.com/groups/newgroup_t/-/epics/1

You wont find the sub group in this group though as you dont have access to it.

What is the current bug behavior?

Private sub group path is visible publicly if epic is added as child epic in public group.

What is the expected correct behavior?

None of the private sub group info should be visible.

Output of checks

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

Regards,
Ashish

Impact

Private sub group path visible when epic is added as child epic in public parent group epic

Attachments

Warning: Attachments received through HackerOne, please exercise caution!

Analysis

This bug is caused by some epic resources not being checked for cross references. As this is related to issue https://gitlab.com/gitlab-org/gitlab/issues/30163 where more resources are missing, it should address them to be relased together.

Security issue on dev.gitlab.org

Part 1: https://dev.gitlab.org/gitlab/gitlab-ee/issues/377 (Addresses Epic notes' cross references)

Part 2: https://dev.gitlab.org/gitlab/gitlabhq/issues/2920 (Addresses Label and Milestone notes' cross references)

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 epic timeline notes rendered cross-references to the child epic without checking whether the viewing user had access to the private subgroup.

Impact

The private subgroup path could be disclosed to any user viewing the public epic timeline, though only the path and name were exposed, not the subgroup's contents.

What the attacker needed

A public group; a private subgroup inside it; an epic in each group; victim views the public epic

The fix

The text says the missing cross-reference checks were addressed in linked issues, but does not state that the fix was released.

How it was found

  1. Create a public group.
  2. Create a private subgroup inside it.
  3. Create an epic inside the private subgroup and set its due dates.
  4. Create an epic inside the public group.
  5. Add the private epic as a child epic of the public group epic.
  6. Log in as another user, open the public group epic and view the timeline.

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.

A group can contain smaller groups, and some of those can be private so outsiders cannot see them. When an epic from a private subgroup was linked as a child of an epic in a public group, the public activity feed showed the private subgroup's name and address. That let anyone reading the public page learn about a private area they were not allowed to see.

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.