Skip to content
Info disclosure Disclosed report Beginner

List of packages visible publicly despite Only Project Members settings

A public group's package list exposed packages from a project whose repository was set to 'Only Project Members'. An unauthenticated user could view the names of packages that should have been restricted.

GitLab

Originally disclosed on GitLab

  • Fixed in 4 months
  • Disclosed after 4 months

HackerOne report #635502 by ashish_r_padelkar on 2019-07-04, assigned to estrike:

Summary

Hello,

Any user can see list of packages from projects even when Repository settings are set as Only project Members

This is possible when project is inside the groups and both are public

Steps to reproduce

  1. Create a public group
  2. Create a public project inside it and set the repository as Only Project Members
  3. Now login as any user and navigate to group packages https://gitlab.com/groups/<GroupName>/-/packages
  4. You should see list of packages which should not be visible for anyone.

Examples

You can use my Project https://gitlab.com/groups/newgroup_t/-/packages and you will see list of packages from project.

What is the current bug behavior?

List of packages visible for publicly

What is the expected correct behavior?

When Repository of projects are set as Only Project Members, packages should not be visible publicly.

Output of checks

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

Regards,
Ashish

Impact

List of packages visible publicly!

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-level package listing did not check the visibility setting of the underlying project's repository.

Impact

The list of packages from a project with a restricted repository could be viewed publicly.

What the attacker needed

Public group; public project with repository set to Only Project Members

How it was found

  1. Create a public group.
  2. Create a public project inside it and set the repository to 'Only Project Members'.
  3. Log in as any user and navigate to the group's packages page.
  4. Observe the list of packages that should not be visible.

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 project can be set so only its members can see its code. But the list of packages built from that project was still shown to anyone visiting the group's package page. This let outsiders learn the names of packages that were meant to be 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.