Skip to content
Access control Disclosed report Beginner

Privileges escalation to use "Import CSV" issues feature by user with not sufficient role

GitLab

Originally disclosed on GitLab

  • Fixed in 12 days
  • Disclosed after 12 days

⚠️ Please read the process on how to fix security issues before starting to work on the issue. Vulnerabilities must be fixed in a security mirror.

HackerOne report #2870330 by mateuszek on 2024-11-28, assigned to @ottilia_westerlund:

Report | How To Reproduce

Report

1. Description:
I can read in Gitlab docs related to Importing issues from CSV that:
You must have at least the Developer role for a project to import issues.
docs: https://docs.gitlab.com/ee/user/project/issues/csv_import.html

So in relation to this docs - Planner role is lower role than Developer - so we expect that the user with Planner role can't use the PoC feature BUT he can - Privileges escalation to use "Import CSV" issues feature by user with not sufficient role

2. Scenario:

2.1. Actors:
User A - attacker - user with Planner role in the public project of public group

2.2. Steps:

  1. User A - go to public project issues: Plan -> Issues then click three dots menu and then click Import CSV then choose the file csv file with issue and click Import - you should successfully import the issue - Privileges escalation to use "Import CSV" issues feature by user with not sufficient role

Example csv file with issue content:

title,description  
test4,test4  

Best regards,
Mateusz

Impact

  • Privileges escalation to use "Import CSV" issues feature by user with not sufficient role

How To Reproduce

Please add reproducibility information to this section:

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.

What is known

A low-severity access control bug in gitlab.com. GitLab made it public on 17 December 2024.

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.

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.