Skip to content
Business logic Disclosed report Beginner

Captcha bypass at registration

The registration page's captcha value could be read by a script, so the bot protection could be bypassed by automating the challenge.

proabiral Follow

Originally disclosed on HackerOne

  • Disclosed after 41 days

Affected URL:

https://demo.weblate.org/accounts/register/

Issue:

The captchas are implement so that the site can differentiate between the legitimate user and the bot. The captcha challenge should be something that a bot cannot solve easily and a human could easily solve. However, in the above URL captcha is simple enough that can be read by any script. An attacker can write a simple script to get value of those captcha ( as simple as document.getElementById("div_id_captcha") in JS ) and solve them.

Solution:

Image captcha should be implemented whose value cannot be read by script. Google captcha can be an effective solution.

The original report as published on HackerOne, by proabiral. 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 captcha answer was rendered into the page's HTML rather than being kept server-side or shown only as an image, so client-side code could read it.

What the attacker needed

None

The fix

The captcha should be replaced with an image-based or third-party captcha whose answer cannot be read by client-side scripts.

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 small puzzle meant to prove a human is filling in a form, not a program. Here the puzzle's answer was written into the page itself, so any script could just read it and submit the correct answer. That means the protection did nothing against automated sign-ups.

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 by proabiral

View all

4 more disclosed reports, best first.

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.