HexBrain

GitLab · Report #703894

View the Starred Projects in a Private Profile

Validstatus
lowseverity
$500bounty
49upvotes
2 Feb 2021disclosed

How it was found

Summary

It is possible to view the starred Projects in a private profile. Consider my profile for instance, https://gitlab.com/maruthi-adithya . This is a private profile and none of my account-related information should be leaked. However, https://gitlab.com/users/maruthi-adithya/starred.json exposes Starred Projects.

Steps to reproduce

  1. Login to Gitlab. Go to Settings.
  2. Check "Don't display activity-related personal information on your profiles".
  3. Save the Profile.
  4. Now, open your profile from a private window. It will say this is a private profile. However, the above mentioned API exposes the starred projects information.

Impact

According to the docs, https://gitlab.com/help/user/profile/index.md#private-profile, starred projects should be hidden. However, due to this API, it is getting exposed. Using this, an attacker could steal sensitive data from a private profile.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original