Project owner can disclose last commit and MRs, issues count of Only Project Members forks
GitLab
Originally disclosed on GitLab
- Fixed in 16 months
- Disclosed after 16 months
HackerOne report #1055508 by shells3c on 2020-12-10, assigned to @rchan-gitlab:
Report | How To Reproduce
Report
Summary
If you fork a project and set your forked project repository visibility to Only Project Members (as well as issues), the project owner still can spy your project's commits + number of MRs, issues, forks
Steps to reproduce
- User A creates a project, calls
foo - User B forks the user A project, calls
bar - User B uses the user A project as a template, and edit the repository to fit with his company server configuration, information
- To prevent other users from accessing private information in his repository or reading the source code of his server, user B sets the repository and issues visibility to
Only Project Members - Now as user A, visit
https://gitlab.com/user-A/foo/-/forks. On this page, you will able to see the user B project's last commit, with the number of merge requests, issues, forks. And by keep fetching this information every hour, user A will able to monitor user B project's commits
Output of checks
This bug happens on GitLab.com
Impact
If the malicious user can create a popular project, he can monitor repository commits of companies who use his open-source project template! And accessing forks, MRs, issues count is a big violation
How To Reproduce
Please add reproducibility information to this section:
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A low-severity info disclosure bug in gitlab.com. GitLab made it public on 14 April 2022. Fixed in version 14.10.
About Info disclosure
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.