6.0.0-beta1
7/5/25

[#10211] Login successes despite wrong username with composite authentication
Summary Login successes despite wrong username with composite authentication
Queue Horde Framework Packages
Type Bug
State Resolved
Priority 3. High
Owners jan (at) horde (dot) org
Requester michael.groene (at) zel (dot) uni-hannover (dot) de
Created 06/08/2011 (5141 days ago)
Due
Updated 06/08/2011 (5141 days ago)
Assigned 06/08/2011 (5141 days ago)
Resolved 06/08/2011 (5141 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/08/2011 02:10:59 PM Jan Schneider Comment #3
Version ⇒
Queue ⇒ Horde Framework Packages
Reply to this comment
Fixed in Horde_Auth 1.0.4.
06/08/2011 02:10:29 PM Jan Schneider Assigned to Jan Schneider
Taken from Horde DevelopersHorde Developers
Taken from Michael Slusarz
State ⇒ Resolved
 
06/08/2011 02:10:01 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

This method must throw an exception on failed login (Bug #10211).

  2 files changed, 4 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/7b0bb8b2d0017e905d42d6b34c100caf30d3d356
06/08/2011 01:36:05 PM Jan Schneider Priority ⇒ 3. High
State ⇒ Assigned
Assigned to Horde DevelopersHorde Developers
Assigned to Michael Slusarz
 
06/08/2011 01:26:04 PM michael (dot) groene (at) zel (dot) uni-hannover (dot) de Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Login successes despite wrong username with composite authentication
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
When using composite authentication, letting IMP handle authentication 
and using SQL as admin-driver, you can login with any 
username/password-combination.

To reproduce use following configuration:
$conf['auth']['driver'] = 'composite';

$conf['auth']['params']['admin_driver']['driver'] = 'sql';
$conf['auth']['params']['admin_driver']['params']=array(
         "driverconfig"=>"horde"
);

$conf['auth']['params']['auth_driver']['driver'] = 'application';
$conf['auth']['params']['auth_driver']['params'] =array(
         "app"=>"imp"
);

Then login with any username and password.


Saved Queries