Add/Update Time tracking estimate on your own issues on any public project or private project with guest access[ Access control issue ]
Users without reporter role could set or update time tracking estimates on issues they created in public projects, and guest users could do the same in private projects. This bypassed the intended permission that only reporters can modify time estimates.
GitLab
Originally disclosed on GitLab
- Fixed in 5 months
- Disclosed after 5 months
⚠️ 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 #2277412 by indoappsec on 2023-12-07, assigned to @cmaxim:
Report | Attachments | How To Reproduce
Report
Summary :
On gitlab.com users can create issue on public project But they can't set/update Estimate Time tracking . This applies on their own created issues too.
You can check the permissions below.

In the permission you can see only reporter role user is able to set/update Estimate Time tracking for issue.
In my testing i found 2 issues .
1.For public projects user can Set/update time estimate for issue that they created.
2.For private projects guest user can Set/Update time estimate for issue that they created.
Vulnerable GraphQL Request :
POST /api/graphql HTTP/2
Host: gitlab.com
Cookie: cookies
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:109.0) Gecko/20100101 Firefox/115.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: https://gitlab.com/vg-admin-group-ii/vg-public-project-ii/-/issues/2
Content-Type: application/json
X-Csrf-Token:
Content-Length: 417
Origin: https://gitlab.com
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers
{"operationName":"issueSetTimeEstimate","variables":{"input":{"projectPath":"vg-admin-group-ii/vg-public-project-ii","iid":"2","timeEstimate":"12h"}},"query":"mutation issueSetTimeEstimate($input: UpdateIssueInput!) {\n issuableSetTimeEstimate: updateIssue(input: $input) {\n errors\n issuable: issue {\n id\n humanTimeEstimate\n timeEstimate\n __typename\n }\n __typename\n }\n}\n"}
Vulnerable Parameter :
projectPath
iid
Steps to reproduce :
You will need 2 accounts to reproduce the issue.
1.Login from victim account on gitlab.com , create a group and take a ultimate free trial.
2.Now create a new public project in a group.(Ex: victim project )
3.Now login from attacker account and go to victim project.
4.Now go to issues and create new issue. (Ex: attacker issue )
5.Once the issue is created , you will notice that you can't change Time tracking estimate.

6.Now run the Above mentioned GraphQL API from attacker Account.
7.Change the projectPath to victim project path and iid is issue Id created by you. You can get this value on issue URL.

In the above screenshot vg-admin-group-ii/vg-public-project-ii is path and 2 is iid.
You can get the projectPath and iid value from URL of victim issue.
8.Now change the cookies and X-Csrf-Token: to victim cookies and CSRF token.
9.Now send the request to server and you will notice that you are able to set or update the estimate time.
Note :
For private projects the steps are same but the user needs have a guest role to view the project.
Output of checks :
This bug happens on GitLab.com.
Impact
1.For public projects user can Set/update time estimate for issue that they created.
2.For private projects guest user can Set/Update time estimate for issue that they created.
For issues created by public user , project owners can set estimate time to resolve it But with this public users can change their estimate time.
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 mutation for setting time estimates did not properly check the user's role on the project, only that they had created the issue.
Impact
Low-privilege users could set or update time estimates on issues they created, which project owners would otherwise control.
What the attacker needed
A GitLab account; victim project with public or guest access; attacker creates an issue in victim project
How it was found
- Login as victim, create a group and start an ultimate free trial.
- Create a new public project in the group.
- Login as attacker and go to the victim project.
- Create a new issue in the victim project.
- Send the GraphQL request to set time estimate, using the victim project path and the issue ID.
- Change cookies and CSRF token to the victim's and send the request; the estimate is updated.
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, issues have a time tracking feature where you can estimate how long work will take. Normally only users with a 'reporter' role or higher can change that estimate. This report shows that even users with lower permissions could change the estimate on issues they created, which they should not be able to do.
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.