I have the following scenario:
Two forms on one page, both have captcha attached.
I click on generate a new captca on first, and submit (submission via ajax)
Then i try submitting the second form (without generating new captcha for it), i get the following:

CAPTCHA session reuse attack detected.
The answer you entered for the CAPTCHA was not correct.

Please advise,

Thanks,

Ram

Comments

ddrozdik’s picture

Status: Active » Closed (won't fix)

Hi,
This is problem in module CAPTCHA see http://drupal.org/node/1395184 for more information about this bug.

Thanks.

Dima.

ramsegal’s picture

Hi Dima, thanks for your quick reply!

Well i still believe it's an issue with the image captcha refresh module, because i get to submit both forms without any issue when not clicking on "generate a new captcha" before submitting.

Thoughts?

Thanks,

Ram

ddrozdik’s picture

Assigned: Unassigned » ddrozdik
Status: Closed (won't fix) » Needs review

hmm, Ok, I will try to realize your scenario and investigate it.

Thanks,

Dima.

ramsegal’s picture

Thanks!

AlexandrShalbetskiy’s picture

Hi, Dmitry. Please check my patch.

ddrozdik’s picture

ddrozdik’s picture

Status: Needs review » Patch (to be ported)

Thanks Alexandr I will check and implement patch.

ramsegal’s picture

AlexandrShalbetskiy, DmitryDrozdik - Thanks for the help! waiting for the patch.

ddrozdik’s picture

Hello,
I have implemented patch with some modifications.
Try to use version 7.x-1.5.

Thanks.

Dima.

ddrozdik’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

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