Skip to content
Business logic Disclosed report Beginner

Bypass captcha count creation issues

The issue creation feature required a captcha, but the CSV import function that also creates discussions did not. An attacker could use the import path to create many discussions without ever solving a captcha.

GitLab

Originally disclosed on GitLab

  • Fixed in 4 days
  • Disclosed after 4 days

HackerOne report #700670 by iframe on 2019-09-24, assigned to @jeremymatos:

Hi, I noticed that in Issues there is a captcha for creation

xx1.png
xx1.png From the original on GitLab

I wondered why the project administrator has it, and I decided to get around it

CSV file import function does not have captcha at all

I made a request:

As a result, I was able to make a lot of discussions without a single captcha, in addition, each created discussion came to my mail + one more error

___.png
___.png From the original on GitLab

Impact

Bypass captcha count count creation discussions

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.

How it worked

Root cause

Likely the captcha check was applied only to the normal discussion creation form and not to the CSV import code path that also creates discussions.

Impact

An attacker could create many discussions without solving a captcha.

What the attacker needed

Access to a project's issue import feature

How it was found

  1. Notice that creating issues normally requires a captcha.
  2. Find that the CSV import function has no captcha.
  3. Send an import request that creates many discussions.
  4. Observe that many discussions were created without any captcha.

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 captcha is a puzzle meant to prove a human is making a request, so it slows down automated abuse. Here one way of creating discussions was protected by a captcha, but another way (importing a CSV file) was not, so the protection could simply be skipped.

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.