Skip to content
Business logic Disclosed report Beginner

Registration captcha bypass

The registration captcha could be reused: the same captcha answer and captcha ID were accepted more than once. An attacker could automate registration and create many accounts.

blacky Follow

Originally disclosed on HackerOne

Medium 4.3 View original
  • Triaged in under an hour
  • Fixed in 3 days
  • Disclosed after 23 days

Hello, I've found that it is possible to bypass captcha during registration. Attacker can automatize registration process and create multiple accounts. Here are steps to reproduce:

  1. Go to registration page. Type information and catch request in proxy.
  2. Get correct answer for captcha and captcha ID. Here is mine:
POST /accounts/register/ HTTP/1.1
Host: demo.weblate.org
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Firefox/52.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Referer: https://demo.weblate.org/
Cookie: csrftoken=m4egNuG72ZPay6HeEqmftrXti70UfoG2AIlbxXrKv6sW1yrSeFp2AcLucZxM1lfh; sessionid=1yefwddt15j1a1weo6dsk0znqrywvkbu; translate-tab=#suggestions
Connection: close
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
Content-Length: 238

csrfmiddlewaretoken=efTfFdHlGlDFdHOuDFKRsLyINeABdaN0sT0apGsY9sgrG9y8dUNEzwmJH67tZ7mf&email=[erased]&content=&username=[erased]&first_name=test&captcha=16&captcha_id=c5c64ac6daee6cf44dce40660879085db4f352e90058fdbb0bOCAqIDI%3D

.3. Now attacker can use captcha answer and captcha ID to correctly register multiple times.

I tried to register once more using this captcha answer and captcha ID and it worked.

The original report as published on HackerOne, by blacky. 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 server validated the captcha answer without invalidating or expiring the captcha ID after first use, allowing replay.

Impact

An attacker could automate registration and create multiple accounts.

What the attacker needed

Ability to intercept HTTP requests; a solved captcha answer and ID

How it was found

  1. Open the registration page and capture the registration request in a proxy.
  2. Solve the captcha and note the answer and captcha ID from the request.
  3. Resend the registration request reusing the same captcha answer and captcha ID.

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 filling in a form. Here the same solved captcha answer and ID could be sent again and again.

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 Weblate

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.