Skip to content
Business logic Write-up Intermediate

Bypassing Uncomfortably Easy Captchas In My Free Time

The CAPTCHA used a fixed text colour against a randomly coloured background, so the author could isolate the characters by colour and feed them to an OCR engine. This let them solve the CAPTCHA automatically, though the text does not show them using it against a live protected endpoint.

3la2kb Follow

Published on systemweakness.com

One day at night, I was going through my recon data for multiple bug bounty targets but not really having the energy to do the usual ‘test’, an endpoint of an old target caught my attention…I thought it was new, but when it opened it reminded me of a really annoying CAPTCHA because it was so simple…the text it self…

3la2kb, on systemweakness.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the CAPTCHA generator used a constant text colour while randomising only the background, giving an easy way to separate text from noise.

Impact

An attacker could automate solving this CAPTCHA, which may weaken protections such as rate limiting or fake-account prevention, though the text does not demonstrate abuse against a live service.

What the attacker needed

Access to CAPTCHA images; ability to run OCR locally

How it was found

  1. Collect sample CAPTCHA images and analyse randomness, character placement, rotation and colours.
  2. Notice the text colour is always the same purple while the background varies.
  3. Write a script that turns pixels close to that purple black and everything else white.
  4. Split the cleaned image into individual character crops.
  5. Run each crop through an OCR engine and clean up common misreads.

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 write-up has not been written yet. The Original tab links to the source.

A CAPTCHA is a small image puzzle meant to prove a human is present. This one always drew its letters in the same purple colour, so a script could pick out just those pixels and hand the cleaned-up image to a text-recognition program. That defeats the purpose of the CAPTCHA.

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 3la2kb

View all

2 more disclosed reports, best first.

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.