Project reporters(and above) can see confidential EPIC attached to confidential issues
A confidential epic's title was visible to project reporters when the epic was attached to a confidential issue, even though those users lacked group-level access. An attacker with project-level reporter access could view the confidential epic title.
GitLab
Originally disclosed on GitLab
- Fixed in 55 days
- Disclosed after 55 days
HackerOne report #919468 by ashish_r_padelkar on 2020-07-09, assigned to @cmaxim:
Summary
Hello,
The feature allows EPIC to be confidential which can only contain confidential issues.
When confidential issue is attached to confidential issues, the EPIC title is visible to Reporters of the projects which are given permissions only at project level.
Steps to reproduce
- Create a group and confidential EPIC.
- Create a project and confidential Issue.
- Attach a confidential EPIC to confidential issue.
- Give user a reporter access only at Project level.
- Directly visit the confidential issue and you should see a EPIC title which is confidential. This title shouldn't be visible because user doesn't have access at group level directly.
What is the current bug behavior?
Confidential EPIC titles are visible to users having direct access at project level (reporters and above) without having access at group level.
What is the expected correct behavior?
EPIC shouldn't be visible to the users without having access at group level (reporters and above)
Output of checks
This bug happens on GitLab.com 13.2.0-pre 2ebd325ab13
Regards,
Ashish
Impact
Confidential EPIC titles visible attached to confidential issues for project members (reporters and above)
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 an access-control check that only verified project-level permissions for the issue, without also checking group-level permissions for the attached epic.
Impact
A user with project-level reporter access could see the title of a confidential epic, which should only be visible to users with group-level access.
What the attacker needed
A GitLab.com account; reporter access to a project; a confidential epic attached to a confidential issue
How it was found
- Create a group and a confidential epic.
- Create a project and a confidential issue.
- Attach the confidential epic to the confidential issue.
- Give a user reporter access only at the project level.
- Visit the confidential issue directly; the confidential epic title is shown.
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.
In GitLab, an epic is a large work item that can be marked confidential. A reporter is a user role with limited permissions. The bug meant that a reporter on a project could see the title of a confidential epic if that epic was linked to a confidential issue, even though the reporter was not a member of the group that owned the epic.
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.