Reporters can manage issue boards
The issue board permissions documentation states that only Developers and higher can manage issue boards, but Reporters can still create/delete lists and drag issues. An attacker with Reporter access could manage issue boards despite the documented restriction.
GitLab
Originally disclosed on GitLab
- Fixed in 9 months
- Disclosed after 9 months
HackerOne report #736586 by ashish_r_padelkar on 2019-11-13, assigned to @jeremymatos:
Summary
Hello,
I reported similar report before #529944 and it was resulted in documentation change.
I am not sure if this documentation https://gitlab.com/help/user/permissions#issue-board-permissions is recently changed or it was there before too but would like to report it anyways.
The documentation here at https://gitlab.com/help/user/permissions#issue-board-permissions says
Developers and users with higher permission level can use all the functionality of the Issue Board, that is create/delete lists and drag issues around Which is not correct. Reporters can still manage issue boards
Steps to reproduce
- Login as
Reporterwithin a project and you are allowed to manage issue boards.
What is the current bug behavior?
Reporters can manage issue boards which contradicts the documentation
What is the expected correct behavior?
If its a intended behaviour, this should just be a documentation change like #529944. But if this is recent product changes, then proper permissions should be applied as mentioned in the documentation
Output of checks
This bug happens on GitLab.com and might be on omnibus installations too. I tested this on Gitlab.com
Regards,
Ashish
Impact
Reporters can manage issue boards
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 issue board feature did not enforce the documented permission level, allowing Reporters to perform actions reserved for Developers.
What the attacker needed
A Reporter role in a project
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.
The documentation said only Developers and above could manage issue boards, but a Reporter could still do it.
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.