Recently an issue cropped up on a site using the CAPTCHA module. The site is using version 6.x-2.3 and it was working fine.

Now on the register form it is impossible to submit the form due to errors thrown by CAPTCHA. I'm not sure what is causing these errors and I couldn't find any other issues that were related.

The errors are:

  • CAPTCHA session reuse attack detected.
  • CAPTCHA validation error: unknown CAPTCHA session ID. Contact the site administrator if the problem persists.

As I mentioned before, this occurs only on the user registration form. CAPTCHA works on other forms within the same site.

I truncated the captcha_sessions table and clear the captcha points cache. I also tried updating to the latest dev version but this seemed unstable.

This may be related to: #918856: CAPTCHA Session Reuse message on webforms But the register form does not use file field.

The site is using math captcha.

Thank you for any help or tips you may share!

Comments

soxofaan’s picture

Any chance it is related to #995748: multiple CAPTCHA protected forms on same page gives "CAPTCHA session reuse attack detected." ?

Was the problem still occurring with CAPTCHA 6.x-2.x-dev? And what do you mean with "seemed unstable"?

lee20’s picture

Status: Active » Fixed

Not sure what the problem was, but uninstalling and reinstall the CAPTCHA module fixed the issue for me. Thanks for your help!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.