Environment: Login page (http://site/user) requires captcha textimage authentication.
Drupal-5 (CVS tag)
Captcha $Id: README.txt,v 1.13 2007/01/13 17:48:05 wundo Exp $
Textimage: $Id: textimage.module,v 1.14 2007/01/22 14:10:34 wundo Exp $

Symptom/Actions to reproduce:
1) User enters correct username and password but leaves captcha field in login form blank.
(the above action produces an error page indicating that captcha field needs to be entered)
2) User presses the "Back" button in the browser to find that they are now in an authenticated session at http://site/user without ever having entered the captcha text.

Problem: although the user/password need to be correct (therefore not a critical issue), captcha auth has been bypassed.

Comments

heine’s picture

The core login form cannot be used with captcha/textimage, nor any other module that tries to set an error on validation as the user login takes place during the validation step carried out by user.module, and not - as it ideally should - in the form submission handler.

It's best to remove this captcha point, until core supports this.

robloach’s picture

Version: 5.x-1.x-dev » 5.x-3.x-dev
Status: Active » Fixed

There's a related user login issue that I just submitted a patch to. Mind testing it out?

Anonymous’s picture

Status: Fixed » Closed (fixed)