Variables $catview(cal_functions.inc.php) $login(admin/cal_login.php) isn't properly sanitized before being used in a SQL query. This can be used to make any SQL query by injecting arbitrary SQL code.
Authentication bypass is possible.
Condition for Authentication bypass: gpc_magic_quotes - off