Skip to content
Business logic Disclosed report Beginner

bypass captcha in the form forgot password

The forgot-password form's CAPTCHA check could be bypassed by removing the CAPTCHA parameter from the request. An attacker could then submit password-reset requests without solving a CAPTCHA, which the reporter frames as enabling email leakage.

hami Follow

Originally disclosed on HackerOne

  • Triaged in 10 days
  • Fixed in 36 days
  • Disclosed after 52 days

Summary:

In this issue I can bypass Captcha Protection in the Forgot Password form.

Browsers Verified In:

firefox

url: https://affiliate.kartpay.com/ url vulnerable: https://affiliate.kartpay.com/forgot_password

Steps To Reproduce:

1-Enter your email in the forgot password parameter. 2-complet captcha 3-Capture the request in the proxy. 4-delete captcha parameter from request. 5-check response

##Request:

POST /forgot_password HTTP/1.1 Host: affiliate.kartpay.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate Referer: https://affiliate.kartpay.com/ Content-Type: application/x-www-form-urlencoded Content-Length: 70 Connection: close Cookie: XSRF-TOKEN=eyJpdiI6IjhjXC8zMFBQT3VFZW5VS2ZHSmVlRk1RPT0iLCJ2YWx1ZSI6Img2SjVsNHdhclVnaEI4dThmMGlWQXJVWHdWeGl1MjdTTFBKZkpiSCtsT2pQYld0Y0pvWURDa0RuNE9VQVU3NkkiLCJtYWMiOiI5ZDI0ZTE5YmQ1OWJhMmUwN2RjYzkzNjVhYTZiZDk1MzIzMjgyNzhjOWEyMmYwYzBmOGExZmEyNGE4MmU1YzIxIn0%3D; laravel_session=eyJpdiI6Incwcjc5S3JIbVpCSThoUWpiSmwwXC9RPT0iLCJ2YWx1ZSI6ImpZdGYrXC96cnBUS1oxb0FkRjA5anpiN013aTFLWFV5NlgzUG13SkpKRGVBT0NvYnpleEpZVWNmMWN6WitcLzF2QiIsIm1hYyI6ImUxMWQ4MjVlMzBjMDdkYWUxOWE2Zjk5OTc1OTFkMjBmNzJkNDkxMzZiY2RiOWJmMjA4MzVmNGQzZTZiMzc5ZjMifQ%3D%3D Upgrade-Insecure-Requests: 1

_token=hIfAxen5jTB2IcWjjpkxAjb1j9Ro8nPtyhveLdoT&email=test%40gmail.com

##Response: you can see it in the photo.

Impact

email leakage

Attachments

after_bypass.png
after_bypass.png From the original on HackerOne

The original report as published on HackerOne, by hami. 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 treated the CAPTCHA field as optional and skipped validation when it was absent, instead of rejecting requests that lack it.

Impact

The CAPTCHA protection on the forgot-password form could be bypassed, allowing automated reset requests; the report claims email leakage but does not demonstrate it.

What the attacker needed

Access to the forgot-password form; a proxy to edit requests

How it was found

  1. Enter an email address in the forgot-password form.
  2. Complete the CAPTCHA.
  3. Capture the resulting request in a proxy.
  4. Remove the CAPTCHA parameter from the request.
  5. Send it and check the response.

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, deleting the CAPTCHA field from the request let the forgot-password form go through without solving it.

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 hami

View all

1 more disclosed report, best first.

More from Kartpay

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.