VahidN / DNTCaptcha.Blazor

A captcha generator for the Blazor based applications.
Apache License 2.0
33 stars 9 forks source link

Captcha should change on invalid input #7

Closed ajahangard closed 1 year ago

ajahangard commented 1 year ago

Hi,

I think there is a security issue with this implementation. Captcha image should change on invalid input so the user be unable to try multiple times. In your demos, there are samples of Captchas to sum two numbers. It's easy to pass the validation by brute forcing because the image captcha value does not change on invalid input.

VahidN commented 1 year ago
ajahangard commented 1 year ago

Yes, I think the third statement is the solution. One should not use Compare to validate. Thank you