HexBrain

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

  1. Consider a private project (say Private Project) with a member Reporter.
  2. From Reporter's login, create a new project. (say Reporter Project).
  3. Create an issue in Reporter Project.
  4. Once the issue is created, upload a design to it.
  5. Now, on the right hand panel bottom, click the Move button.
  6. Choose the Private Project as the destination project.
  7. 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.

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