Skip to content
Access control Disclosed report Beginner

Issue import from Jira shows issues imported by Project Owner all the time

When a project maintainer imported issues from Jira, the resulting issues were attributed to the main project owner rather than the maintainer who performed the import. This let any maintainer impersonate the project owner in the issue history.

GitLab

Originally disclosed on GitLab

  • Fixed in 24 days
  • Disclosed after 24 days

HackerOne report #856915 by ashish_r_padelkar on 2020-04-23:

Summary

Hello,

The issue imported from Jira by maintainers in project still shows that issues are imported by main project owner. This is a problem for a project owners/maintainers to really know who actually imported the issues from Jira as all the maintainers can impersonate project owner.

Steps to reproduce

  1. Setup integration with Jira in your project. This can be done by any project maintainer
  2. Login as one of the maintainer in the project and go to https://gitlab.com/<Group>/<Project>/-/import/jira
  3. Import the issues from Jira. At this point, you will see that Reporter is shown as current logged in user while importing but once you complete the import and see the issue list, You see that all the issues are shown as created by main project owner.

What is the current bug behavior?

All the issues imported from Jira are shown as imported by project owner allowing other maintainers in project to impersonate owner in importing issues.

What is the expected correct behavior?

Correct maintainer username should be displayed for all the imported issues from Jira.

Output of checks

This bug happens on GitLab.com and omnibus GitLab Enterprise Edition 12.10.0-ee

Regards,
Ashish

Impact

Jira imported issues are shown as created by main project owner .

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

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the import process attributed created issues to the project owner instead of the authenticated user who triggered the import.

Impact

A maintainer could make imported issues appear to have been created by the project owner, undermining the accuracy of the audit trail.

What the attacker needed

A GitLab project; maintainer role on the project; Jira integration configured

How it was found

  1. Set up the Jira integration on the project as a maintainer.
  2. Log in as a maintainer and open the Jira import page for the project.
  3. Run the import and note the reporter shown during import.
  4. Check the issue list afterwards and see the issues attributed to the project owner.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A project on GitLab can pull in issues from another tool called Jira. The page showed the right person while importing, but afterwards every imported issue was labelled as created by the project owner. So a lower-privileged maintainer could make it look like the owner did the work.

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.

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.