Show
Ignore:
Timestamp:
10/22/07 15:06:20 (5 years ago)
Author:
benoitg
Message:
  • Major security fix: Fix the authenticator for a security breach where a user could get Internet access using an empty username. LocalUser? and LDAP were definitely vulnerable, RADIUS may have been.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/login/index.php

    r1261 r1304  
    199199    $user = User::getCurrentUser(); 
    200200    if (!$user) { 
    201         //Normally, we already have a user logged-in (precessed by process_login_out.php).  But we try again, if only to display the error 
     201        //Normally, we already have a user logged-in (processed by process_login_out.php).  But we try again, if only to display the error 
    202202        Authenticator::processLoginUI($errmsg); 
    203203    } 
    204  
     204//echo "DEBUG: user: "; echo $user->getUsername(); 
    205205    if ($user != null) { 
    206206        if (!empty($gw_address) && !empty($gw_port)) {