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

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

Impact
Bypass captcha count count creation discussions
Attachments
Warning: Attachments received through HackerOne, please exercise caution!
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
- Notice that creating issues normally requires a captcha.
- Find that the CSV import function has no captcha.
- Send an import request that creates many discussions.
- 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.