Non-Premium user(Free plan)can see sum of weights
A GraphQL endpoint returned the total weight of issues to a free-plan user, even though the sum-of-weights feature is documented as premium-only. An attacker could read this paid feature's data without a premium subscription.
GitLab
Originally disclosed on GitLab
- Fixed in 21 months
- Disclosed after 21 months
HackerOne report #1551065 by salh4ckr on 2022-04-26:
Report | Attachments | How To Reproduce
Report
Summary
hi,
According to this:https://docs.gitlab.com/ee/user/project/issue_board.html#sum-of-issue-weights, only premium plan should be able to see Sum of weights but i found a graphql endpoint which is showing total of weights.

Steps to reproduce
1.Create a group A and start ultimate trial for this group
2.Create a project A in group A
3.Create issue A in project A
4.Add weights to issue A
5.Create another issue B to project A
4.Add weights to issue B.
- because issue weights feature is available for premium plan and we can't wait 30 days for trial to end let's create free plan group then transfer project A there
5.Create group B
6.transfer project A to group B
7.now go to projects A issue_boards you will see that there is no sum of weights
8.go to burpsuite march and replace this: response false to true
or use this graphql request:
POST /api/graphql HTTP/2
Host: gitlab.com
Cookie: redacted
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: https://gitlab.com/newgrp8/proj1/-/boards/4229506
Content-Type: application/json
X-Csrf-Token: redacted
X-Gitlab-Feature-Category: team_planning
Origin: https://gitlab.com
Content-Length: 285
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers
[{"operationName":"BoardListEE","variables":{"id":"gid://gitlab/List/id","filters":{"not":{}}},"query":"query BoardListEE($id: ID!, $filters: BoardIssueInput) {\n boardList(id: $id, issueFilters: $filters) {\n id\n totalWeight\n issuesCount\n __typename\n }\n}\n"}]
Impact
Non-Premium user can see Sum of issue weights
Attachments
Warning: Attachments received through HackerOne, please exercise caution!
How To Reproduce
Please add reproducibility information to this section:
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 GraphQL board list resolver returned totalWeight without checking the user's plan entitlement.
Impact
A non-premium user could see the sum of issue weights, a feature restricted to premium plans.
What the attacker needed
A free GitLab account; a project with weighted issues
How it was found
- Create a group and start an ultimate trial for it.
- Create a project in that group and add issues with weights.
- Create a free-plan group and transfer the project there.
- Open the project's issue boards and confirm the sum of weights is not shown.
- Send a GraphQL board list request that asks for totalWeight.
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.
GitLab has a paid feature that shows the total weight of issues on a board. A free user should not see that total. The researcher found that a particular API request still returned the total, so the paid restriction was not enforced on that endpoint.
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.