Skip to content
Access control Disclosed report Beginner

Reporters can upload design to issues using the "Move to" feature

A user with the Reporter role could upload design files to an issue in their own project and then move that issue to a private project where they only had Reporter access, bypassing the restriction that only Developers or higher can upload designs. This allowed a Reporter to escalate their privilege and upload Design Management files to a project where they were not permitted to do so.

maruthi12 Follow

Originally disclosed on HackerOne

Bounty$600 Medium View original
  • Triaged in 2 days
  • Fixed in 6 months
  • Paid in 25 days
  • Disclosed after 8 months

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.

The original report as published on HackerOne, by maruthi12. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 4 min read.

What the report shows

This is a GitLab report about Design Management, the feature that lets users attach design files to issues. GitLab's permission documentation states that only users with the Developer role or above may upload Design Management files. The researcher, maruthi12, found that a user with the lower Reporter role could still get designs into a project by abusing the issue "Move to" feature.

The setup and reproduction are short and precise:

  1. Take a private project (the report calls it Private Project) that has a member with the Reporter role.
  2. Logged in as that Reporter, create a new project (the Reporter Project).
  3. Create an issue in the Reporter Project.
  4. Once the issue exists, upload a design to it.
  5. In the right hand panel, at the bottom, click the Move button.
  6. Choose the Private Project as the destination project.
  7. The issue, together with its design, is migrated into the Private Project.

The problem is the move: the design travels with the issue into a project where the Reporter is only a Reporter and should not be able to upload designs at all. The report does not include any HTTP requests, parameters or responses, so the exact endpoint and payload used by the move are not shown here.

The report does not describe the fix.

Root cause

The report does not describe the underlying cause. Uploading a design is gated on the Developer role, but moving an issue that already carries designs is a different code path,

Impact

As the report puts it, a Reporter can escalate their privilege to upload Design Management files, which they are not allowed to perform. The practical effect is that content the destination project's permission model is meant to keep out, design files attached to issues, can be introduced by a user who only holds the Reporter role there. The report does not claim anything beyond this: no data disclosure, no code execution, no access to other users' content. It is a permission bypass.

How this kind of bug works

This is a classic case of inconsistent authorisation across two operations that touch the same object. A resource (here, a design attached to an issue) is created under one set of rules, and then a second operation (moving the issue to another project) changes the security context of that resource without re-checking the rules of the new context. Access control is enforced at the point of creation but not at the point of relocation, so the object crosses a trust boundary carrying privileges it should not have.

The same pattern appears whenever objects can be transferred between containers with different permission models: issues and merge requests between projects, files between folders or drives, documents between workspaces, records between tenants. The bug exists because authorisation is checked per endpoint rather than per state transition. Defences are the usual ones: check the actor's rights in the destination container for every object being moved, treat a move as a create in the destination for authorisation purposes, and centralise the policy so that upload and move share the same check.

How to test for it

A general method for this bug class:

  1. Identify features where an object can change container: move, transfer, copy, import, share, fork, clone.
  2. Map the permission required to create each kind of child object (attachments, comments, labels, files) in a container.
  3. Create a low-privilege account in the destination container that lacks the right to create those children.
  4. In a container where the account does have the right, create the object with its children, then move it into the destination.
  5. Observe whether the children arrive and whether the destination now shows content the account should not have been able to add.

A positive result is that the restricted child object appears in the destination and is attributed to, or usable by, the low-privilege account. Common false positives: the account actually holds a role in the destination that permits the action; the destination inherits permissions from a parent group; the object is visible but not actually stored in the destination; or the platform deliberately allows migration of pre-existing content as a documented behaviour. Confirm by checking the object's ownership and by repeating with a fresh account that has no other memberships.

How it is fixed

The standard fix is to enforce the destination's authorisation rules during the move. Concretely: re-check the actor's role in the destination project for every child object being transferred, reject or strip children the actor could not create there, and route both upload and move through the same policy check. Where the platform wants to preserve content, it can move the issue but drop or quarantine designs the mover is not entitled to add. Regression tests should cover a Reporter moving an issue with designs into a project where they are only a Reporter.

Hunting notes

These bugs tend to hide in features added later around an existing object model: bulk actions, importers, project templates, and anything with a "move" or "transfer" verb. Recon signals include endpoints whose names pair a container with a child resource, parameters naming a destination project or group, and UI flows that copy content between contexts. To make a report land, show the exact role pair (source role versus destination role), the before and after state of the destination, and a minimal reproduction that a triager can follow without special setup. State the impact in the platform's own permission terms, as this report does, rather than inflating it.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 7 min read.

What happened, in plain words

GitLab is a website where teams keep their software projects. Each project has issues, which are like to-do cards or discussion threads, and each issue can have design files attached to it, such as mockups or screenshots. That attachment feature is called Design Management.

Every project has members, and each member has a role. A role is a label that says how much a person is allowed to do. GitLab's permission documentation says that only a user with the Developer role or higher may upload Design Management files. A Reporter is a lower role, so a Reporter should not be able to add designs.

The researcher, maruthi12, found a way around that rule. A Reporter can create their own project, where they are in charge and can do everything, including uploading designs. They can then use the issue "Move to" feature to send that issue, designs included, into a different project where they are only a Reporter. The designs arrive in the destination even though the Reporter was never allowed to upload designs there.

This is a privilege escalation: a user with fewer rights gets an action that should require more rights. It does not include any HTTP requests, parameters or responses, so the exact technical details of the move are not shown.

The reproduction, step by step

  1. Take a private project (the report calls it Private Project) that has a member with the Reporter role.
  2. Logged in as that Reporter, create a new project (the Reporter Project).
  3. Create an issue in the Reporter Project. An issue is the container that will carry the design.
  4. Once the issue exists, upload a design to it. At this point nothing is wrong: the Reporter is allowed to do this in their own project.
  5. In the right hand panel, at the bottom, click the Move button. This is the feature that relocates an issue to another project.
  6. Choose the Private Project as the destination project. The destination is where the Reporter has only the lower role.
  7. The issue, together with its design, is migrated into the Private Project.

Step 7 is the bug. The design was checked against the Reporter's rights when it was uploaded, in the Reporter Project, where those rights were sufficient. When the issue is moved, the design crosses into a project with a stricter permission model, and the check that guards uploads is not run again against the destination. The move is treated as carrying existing content along, not as a new upload into the target project.

Root cause

The report does not describe the underlying cause.

Impact

As the report puts it, a Reporter can escalate their privilege to upload Design Management files, which they are not allowed to perform. In practice, content that the destination project's permission model is meant to keep out, design files attached to issues, can be introduced by a user who only holds the Reporter role there. The report claims nothing beyond this: no data disclosure, no code execution, no access to other users' content. It is a permission bypass.

In general, how this kind of bug works

This is a case of inconsistent authorisation across two operations that touch the same object. Authorisation simply means deciding whether the person asking is allowed to do the thing they are asking for. A resource, here a design attached to an issue, is created under one set of rules, and then a second operation, moving the issue to another project, changes the security context of that resource without re-checking the rules of the new context. Access control is enforced at the point of creation but not at the point of relocation, so the object crosses a trust boundary carrying privileges it should not have.

A useful everyday comparison is a building with different floors. A visitor badge lets you into the lobby. If you carry a parcel from the lobby into a restricted floor and nobody checks the parcel at the lift, the parcel is now somewhere your badge never allowed you to bring anything. The check happened once, at the front door, and was never repeated.

The same pattern appears whenever objects can be transferred between containers with different permission models: issues and merge requests between projects, files between folders or drives, documents between workspaces, records between tenants. The bug exists because authorisation is checked per endpoint rather than per state transition. An endpoint is one address on the server that performs one action; a state transition is a change from one situation to another, such as an issue belonging to project A and then to project B.

Defences are the usual ones: check the actor's rights in the destination container for every object being moved, treat a move as a create in the destination for authorisation purposes, and centralise the policy so that upload and move share the same check.

In general, how to test for it

A general method for this bug class:

  1. Identify features where an object can change container: move, transfer, copy, import, share, fork, clone.
  2. Map the permission required to create each kind of child object (attachments, comments, labels, files) in a container.
  3. Create a low-privilege account in the destination container that lacks the right to create those children.
  4. In a container where the account does have the right, create the object with its children, then move it into the destination.
  5. Observe whether the children arrive and whether the destination now shows content the account should not have been able to add.

A positive result is that the restricted child object appears in the destination and is attributed to, or usable by, the low-privilege account. Common false positives: the account actually holds a role in the destination that permits the action; the destination inherits permissions from a parent group; the object is visible but not actually stored in the destination; or the platform deliberately allows migration of pre-existing content as a documented behaviour. Confirm by checking the object's ownership and by repeating with a fresh account that has no other memberships.

In general, how it is fixed

The standard fix is to enforce the destination's authorisation rules during the move. Concretely: re-check the actor's role in the destination project for every child object being transferred, reject or strip children the actor could not create there, and route both upload and move through the same policy check. Where the platform wants to preserve content, it can move the issue but drop or quarantine designs the mover is not entitled to add. Regression tests should cover a Reporter moving an issue with designs into a project where they are only a Reporter.

In general, where to look

These bugs tend to hide in features added later around an existing object model: bulk actions, importers, project templates, and anything with a "move" or "transfer" verb. Recon signals include endpoints whose names pair a container with a child resource, parameters naming a destination project or group, and UI flows that copy content between contexts. To make a report land, show the exact role pair (source role versus destination role), the before and after state of the destination, and a minimal reproduction that a triager can follow without special setup. State the impact in the platform's own permission terms, as this report does, rather than inflating it.

Glossary

  • GitLab: a website for hosting software projects, their code and their issue trackers.
  • Issue: a discussion thread or to-do item inside a project, used to track work.
  • Design Management: the GitLab feature that lets users attach design files, such as mockups, to issues.
  • Role: a label attached to a project member that defines what they are allowed to do.
  • Developer: a GitLab role that, per the documentation, may upload Design Management files.
  • Reporter: a lower GitLab role that may read and discuss but, per the documentation, may not upload Design Management files.
  • Private project: a project visible only to its members.
  • "Move to" feature: the GitLab feature that relocates an issue, with its attachments, to another project.
  • Privilege escalation: a bug where a user with fewer rights manages to perform an action that requires more rights.
  • Authorisation: the process of deciding whether the person making a request is allowed to do it.
  • Access control: the rules and code that enforce authorisation.
  • Endpoint: one address on a server that performs one specific action.
  • State transition: a change in an object's situation, such as an issue belonging to one project and then another.
  • Trust boundary: a line between two areas with different permission rules, which content should not cross without a fresh check.
  • Root cause: the underlying reason a bug exists, as opposed to its visible symptom.
  • False positive: a test result that looks like a bug but is not one.
  • Regression test: an automated test that checks a fixed bug stays fixed.
  • Bounty: a payment made by a company to a researcher who reports a valid security bug.
  • Severity: a rating of how serious a bug is, here medium.
  • Disclosure: the date a report is made public.

More by maruthi12

View all

4 more disclosed reports, best first.

More from GitLab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.