Skip to content
Business logic Disclosed report Beginner

Adding everyone to the repo due to the lack of rate limit

The project member invitation endpoint lacked a rate limit, so an attacker could send a large number of invite requests to add many GitLab users to a repository. This could fill users' mailboxes with notifications.

sadd_man Follow

Originally disclosed on HackerOne

  • Disclosed after 4 days

Summary

Since there is no rate limit in the inviting users to the repository section, it is possible to add all users on gitlab to a repository.

Steps to reproduce

(Step-by-step guide to reproduce the issue, including:)

  1. Create a repository
  2. go to the project members section
  3. choose a random user
  4. before clicking the invite button, we need to capture the request with the burp suite..
  5. ███████
  6. Send it to the Intruder module, specify the █████ field here between 1 and 7006996 and send the request.

Impact

It is possible to collect all users on Gitlab in a single repository, so users' mailboxes will be filled with notifications.

Note

Because the rate limit is out of scope, I tested it and I could not stop the python script, and there were users affected.

Impact

It is possible to collect all users on Gitlab in a single repository, so users' mailboxes will be filled with notifications.

The original report as published on HackerOne, by sadd_man. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 endpoint that invites users to a project did not enforce a rate limit, allowing automated bulk invitations.

Impact

An attacker could add many GitLab users to a single repository, filling their mailboxes with notifications; the report notes that rate limiting was out of scope and that affected users existed.

What the attacker needed

A GitLab account; ability to create a repository; Burp Suite or similar tool

The fix

The report notes the invitation endpoint lacks a rate limit; no fix is stated.

How it was found

  1. Create a repository.
  2. Go to the project members section.
  3. Choose a random user.
  4. Capture the invite request with Burp Suite before clicking invite.
  5. Send the request to Intruder and vary the user identifier field across a large range.

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.

A rate limit is a cap on how many times you can do something in a short period. Without it, someone can automate sending many invitations to a project, adding lots of people and flooding their email with notifications.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More from GitLab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.