Skip to content
Info disclosure Disclosed report Intermediate

Release titles visible for any users if group milestones are associated with any project releases

A private project's release titles were exposed on a public group milestone page when the release was associated with a group milestone. An unauthenticated or any user could view the release title, which should have been restricted to project members.

GitLab

Originally disclosed on GitLab

  • Fixed in 20 months
  • Disclosed after 20 months

HackerOne report #1012659 by ashish_r_padelkar on 2020-10-20, assigned to @ankelly:

Report

Report

Summary

Hello,

Looks like this issue appeared because of https://gitlab.com/gitlab-org/gitlab/-/issues/235391

When public group milestones are associated with private project releases, the release titles are visible for any user (non members)

Steps to reproduce
  1. Create a public group and milestone in a group. note this group must have gold tier subscription
  2. Create a private project and release within it.
  3. Associate group milestone with private project release with below API
curl --header 'Content-Type: application/json' --request PUT --data '{"name": "RELEASE FROM PROJECT", "milestones": ["GroupMilestone1"]}' --header "PRIVATE-TOKEN: <Token>" "https://gitlab.com/api/v4/projects/<ID>/releases/<Name>"  
  1. Now login as any user and access the public group milestone page https://gitlab.com/groups/<PublicGroup>/-/milestones and you should see the name of the release with milestone name. This release actually belongs to private project which you cant see or have access!
What is the current bug behavior?

Release titles visible in public group if the releases are associated with public group milestones!

What is the expected correct behavior?

Release titles shouldnt be visible when they belong to private project!

Output of checks

This bug happens on GitLab.com

Regards,
Ashish

Impact

Release titles visible for any users if public group milestones are associated with any private project releases

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

Impact

Release titles from private projects could be disclosed to any user, including non-members, when associated with a public group milestone.

What the attacker needed

Gold tier subscription for the group; Ability to create a public group and milestone; Ability to create a private project and release; API access to associate milestone with release

How it was found

  1. Create a public group and a milestone in that group (requires Gold tier).
  2. Create a private project and a release within it.
  3. Use the API to associate the group milestone with the private project release.
  4. Log in as any user and visit the public group milestone page to see the release title.

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, a project can be private, meaning only members can see it. A group milestone is a shared goal that can be linked to releases. The bug meant that if a private project's release was linked to a public group milestone, the release title became visible to anyone, even though the project itself was private.

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.