Page 1 of 1

Issue with Audio Captcha

Posted: Wed Feb 25, 2026 10:31 pm
by devilstritone
When registering for an account, I encountered a captcha image that was difficult for me to read. Instead of generating a new image, I listened to the captcha audio, and entered the number it provided. Notably, this audio did not match the image. When submitting the form, it told me that the confirmation code I entered was not valid. When entering the code in the image my input was successful.

I was able to reproduce this issue across Firefox, Chrome, Edge, and iOS Safari.

When looking for preexisting posts on the topic on this forum, I found this one (https://projecteuler.chat/viewtopic.php ... cha#p64896) discussing the implementation of the audio captcha. Given that it mentions that "At the moment, when the page is loaded for image compliant browsers, the JavaScript triggers to load the image and in doing so, the CAPTCHA value is stored in the session. Calling the read_captcha.php script will read that value", I assume that the audio played is intended to match the image. Feel free to correct me if that assumption is incorrect.

I'm not the most familiar with web requests, so the following information may be useless, but I did notice a discrepancy between the audio and image requests. The audio returned by read_captcha.php seems entirely determined by the user's PHPSESSID cookie, while the returned image is reliant on something else.

If there's any more information I can provide, or if there's some user error on my end, let me know!

Re: Issue with Audio Captcha

Posted: Wed Feb 25, 2026 11:35 pm
by euler
Thank you for reporting that. Recently I'd tightened up how secure sessions were being handled and I'd overlooked the script that read the audio.

I think it should be working now, could you double check it is working in your browsers?

Re: Issue with Audio Captcha

Posted: Wed Feb 25, 2026 11:48 pm
by devilstritone
It seems to be working properly now on my end! Ty for your work :]