6.0.0-alpha14
7/2/25

[#9085] Transparent authentication not clearing the session
Summary Transparent authentication not clearing the session
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 3. High
Owners slusarz (at) horde (dot) org
Requester jan (at) horde (dot) org
Created 06/08/2010 (5503 days ago)
Due
Updated 07/02/2010 (5479 days ago)
Assigned 06/28/2010 (5483 days ago)
Resolved 07/02/2010 (5479 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/02/2010 09:22:41 PM Michael Slusarz State ⇒ Resolved
 
07/02/2010 09:18:01 PM Michael Rubinsky Comment #12 Reply to this comment
This fixes things for me.
07/02/2010 06:50:31 PM Michael Slusarz Comment #11 Reply to this comment
Next attempt...
07/01/2010 12:19:18 AM Michael Rubinsky Comment #9 Reply to this comment
Now, at least, I'm only seeing the warning once, but it's still there.
... ah, and now it's only happening after logout, not when navigating 
to the login page the first time, so to speak.
07/01/2010 12:17:42 AM Michael Rubinsky Comment #8 Reply to this comment
Now, at least, I'm only seeing the warning once, but it's still there.
06/30/2010 08:35:29 PM Michael Slusarz Comment #7 Reply to this comment
Try this.
06/29/2010 10:38:16 PM Michael Rubinsky Comment #5 Reply to this comment
Since these changes, I'm now seeing:

Warning: session_regenerate_id() [function.session-regenerate-id]: 
Cannot regenerate session id - headers already sent in 
/usr/local/horde/horde/framework/Core/lib/Horde/Registry.php on line 
1582

on the login page.

Trace:

1        0.0027        782592        {main}( )        ../login.php:0
2        0.1840        8413552        require( 
'/usr/local/horde/horde/horde/templates/login/login.inc' 
)        ../login.php:315
3        0.1852        8414088        Horde_Notification_Handler->notify( $options = array 
('listeners' => 'status') )        ../login.inc:15
4        0.1853        8414712        Horde_Notification_Handler_Decorator_Alarm->notify( 
$options = array ('listeners' => array (0 => 'status')) 
)        ../Handler.php:284
5        0.1853        8414712        Horde_Alarm->notify( $user = 'mike', $load = ???, 
$preload = ???, $exclude = ??? )        ../Alarm.php:54
6        0.1854        8415072        Horde_Alarm->listAlarms( $user = 'mike', $time = 
NULL, $load = TRUE, $preload = TRUE )        ../Alarm.php:457
7        0.1864        8444504        Horde_Alarm->load( $user = 'mike', $preload = TRUE 
)        ../Alarm.php:177
8        0.1879        8583720        Horde_Registry->listApps( $filter = NULL, $assoc = 
FALSE, $perms = 4 )        ../Alarm.php:117
9        0.3768        14849736        Horde_Registry->hasPermission( $app = 'ansel', 
$perms = 4 )        ../Registry.php:618
10        0.3769        14850048        Horde_Registry->isAuthenticated( $options = array 
('app' => 'ansel') )        ../Registry.php:1222
11        0.3769        14850128        Horde_Registry->getCleanSession( )        ../Registry.php:1676
12        0.3769        14850224        session_regenerate_id ( TRUE )        ../Registry.php:1582
06/28/2010 09:08:36 PM Jan Schneider Comment #4 Reply to this comment
The only system that I've seen so far that was affected by 
side-effects of this issue also relies on checkAuthentication() 
working properly, so I can't update it yet.
06/28/2010 07:29:57 PM Michael Slusarz Comment #3
State ⇒ Feedback
Reply to this comment
How about this?
06/28/2010 07:29:38 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

Bug #9085: get clean session if doing transparent auth in a non 
authenticated Horde session

http://git.horde.org/diff.php/framework/Core/lib/Horde/Registry.php?rt=horde-git&r1=26a33b08c4d70abca71dc606d6669f2d0ec59f53&r2=7869819cbfd94103184a404de1ba08b10b9d0b7c
06/15/2010 09:20:30 AM Jan Schneider Assigned to Michael Slusarz
State ⇒ Assigned
 
06/08/2010 11:27:55 PM Jan Schneider Comment #1
Priority ⇒ 3. High
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Transparent authentication not clearing the session
Type ⇒ Bug
Reply to this comment
When authenticating a user through transparent authentication, 
getCleanSession() is not called, making the session vulnerable to 
session fixation and other side-effects.

Saved Queries