Skip to content
DoS Disclosed report Beginner

Project Milestone with specific name blocks owners/users from accessing group milestone page

GitLab

Originally disclosed on GitLab

  • Fixed in 4 months
  • Disclosed after 4 months

HackerOne report #638731 by ashish_r_padelkar on 2019-07-10, assigned to estrike:

Summary

Hello,

The project milestone with name <img src=x onerror=prompt(1)> can throw 500 error on group milestone pages and can prevent group owners or users from accessing that page until they find the root cause of the issue.

The reason this happens is because project milestones are also rendered on group milestone page here at https://gitlab.com/groups/<GroupName>/-/milestones

Steps to reproduce

  1. Create a project milestone within a group named<img src=x onerror=prompt(1)>
  2. This will create a empty milestone.
  3. Now as any user (or group owner) navigate to https://gitlab.com/groups/<GroupName>/-/milestones

4.They will see 500 error

Screenshot_2019-07-10_at_13.28.32.png
Screenshot_2019-07-10_at_13.28.32.png From the original on GitLab

What is the current bug behavior?

Project Milestone with specific name block owners from accessing group milestone page

What is the expected correct behavior?

Either milestone should not allowed special characters like < or group milestone page should be properly rendered.

Output of checks

This bug happens on GitLab.com and might be on omnibus installations too.

Regards,
Ashish

Impact

There are multiple impacts of this

  1. As mentioned earlier, this creates empty milestone which then prevent admin from deleting the milestone, or promoting at group level unless they specifically go to EDIT link directly and fix it.

  2. This blocks owners, maintainers from accessing the group milestone page till they find the root cause of the issue. Imagine some developer role creates such milestone (who has only project level access and not group level) and then prevent group owner, admin from accessing group milestones. This happens because project milestones too renders in group milestone page and group owners can see all the projects and their milestone which by default render in group milestone page irrespective of project visibility.

Regards,
Ashish

Attachments

Warning: Attachments received through HackerOne, please exercise caution!

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 doS bug in gitlab.com. GitLab made it public on 20 November 2019. Fixed in version 12.5.

About DoS

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More from GitLab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.