Guest in private project can see CI/CD Analytics
GitLab
Originally disclosed on GitLab
- Fixed in 6 months
- Disclosed after 6 months
HackerOne report #1074326 by ashish_r_padelkar on 2021-01-08, assigned to @dcouture:
Report | How To Reproduce
Report
Summary
Hello,
This is most probably documentation error but reporting this as you have mentioned in policy Reports about intended behavior resulting in an update of our documentation will be rewarded with a $100 bounty, as long as this update is security related.
As per document of user permission, https://docs.gitlab.com/ee/user/permissions.html, Guest should not be able to see View CI/CD analytics I think it is wrongly mentioned as guest can see CI/CD Analytics in private projects. Not too sure if there are any recent changes though but in any case, either document or code need fixing!
Steps to reproduce
- Login as guest in private project and you can see CI/CD Analytics option and can browse too!
Regards,
Ashish
Impact
Guest in private project can see CI/CD Analytics
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 medium-severity access control bug in gitlab.com. GitLab made it public on 3 August 2021. Fixed in version 14.2.
About Access control
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.