GitLab · Report #1112297
Reporters can upload design to issues using the "Move to" feature
Validstatus
mediumseverity
$600bounty
21upvotes
18 Oct 2021disclosed
How it was found
Summary
According to the permission documentation, only role of Developer or more can upload Design Management files. However, using the issue "Move to" feature, a reporter can create a issue with designs.
Steps to reproduce
- Consider a private project (say Private Project) with a member
Reporter. - From Reporter's login, create a new project. (say Reporter Project).
- Create an issue in Reporter Project.
- Once the issue is created, upload a design to it.
- Now, on the right hand panel bottom, click the Move button.
- Choose the Private Project as the destination project.
- Now the issue along with the design are migrated to the Private Project.
Let me know if you need anything else to reproduce this issue.
Impact
Using the vulnerability, a Reporter can escalate his privilege to upload Design Management Files which he is not allowed to perform.