Skip to content
Info disclosure Disclosed report Beginner

Expose Private Group's Membership in autocomplete endpoint

A public project's member autocomplete endpoint returned members of a private group that the project was shared with, even though the web UI hid that group. An unauthorised user could therefore learn who belongs to the private group.

GitLab

Originally disclosed on GitLab

  • Fixed in 13 months
  • Disclosed after 13 months

HackerOne report #425579 by ngalog on 2018-10-19:

Summary: The impact is exactly the same as #424465:

When you visit a public project member page, you will be able to see the normal members there, if the public project was shared with a private group, that private group is hidden from the web UI, since you are not authorised to reach that private group. However there is an autocomplete endpoint disclosing all member including the private group member in that endpoint

Steps To Reproduce:

  • Visit https://gitlab.com/golduserngalog/gitlabexporta/project_members, you should be able to see two members in this group only, but in fact I have shared this project with a private group with namespace privategroupwithprivatemember

  • However when you visit https://gitlab.com/golduserngalog/gitlabexporta/autocomplete_sources/members?type=Issue&type_id=2, you will see two more members in the response, thus leaking the membership of the group privategroupwithprivatemember

Impact

This allow unauthorized user to view the membership of private group

Expose Private Group's Membership in autocomplete endpoint

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 autocomplete endpoint did not apply the same authorisation checks as the member page, so it included members from a private group shared with the project.

Impact

An unauthorised user could view the membership of a private group, exposing who belongs to it.

What the attacker needed

A public project shared with a private group; no account needed to view the public project

How it was found

  1. Visit the public project's member page and note that only two members are shown.
  2. Request the project's member autocomplete endpoint.
  3. Observe that the response includes additional members from the private 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.

A project can be shared with a group, and some groups are private, meaning outsiders should not see who is in them. The normal member page correctly hid the private group, but a separate autocomplete feature that suggests names still listed its members. That let anyone viewing the public project discover the private group's membership.

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.