You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If WireCrypt is disabled an attempt to attach with non-existing user returns isc_login_error instead of isc_login.
Two problems here:
It leaks security information about user existence.
Some client code explicitly expect isc_login to be returned.
Use CONNECT or CREATE DATABASE to specify a database
SQL> connect localhost:atest user aaaa password 'bbb';
Statement failed, SQLSTATE = 08006
Error occurred during login, please check server firebird.log for details
SQL> connect localhost:atest user abc password 'bbb';
Statement failed, SQLSTATE = 28000
Your user name and password are not defined. Ask your database administrator to set up a Firebird login.
SQL> connect localhost:atest user abc password 'def';
Database: localhost:atest, User: ABC
The text was updated successfully, but these errors were encountered:
On 8/26/23 01:23, Dimitry Sibiryakov wrote:
Current snapshot of Firebird 5 returns isc_login_error if user does
not exists in security db and isc_login if it does exists but password
is wrong.
Two problems here:
1. It leaks security information about user existence.
2. Some client code explicitly expect isc_login to be returned.
Can't reproduce.
Correct logon:
# ./isql -user sysdba -pas masterkey localhost:employee -z
ISQL Version: LI-T5.0.0.1167-dev Firebird 5.0 Beta 2
Server version:
LI-T5.0.0.1167-dev Firebird 5.0 Beta 2
LI-T5.0.0.1167-dev Firebird 5.0 Beta 2/tcp (fbs3)/P18:C
LI-T5.0.0.1167-dev Firebird 5.0 Beta 2/tcp (fbs3)/P18:C
Database: localhost:employee, User: SYSDBA
SQL> ^D
Bad password:
# ./isql -user sysdba -pas qqq localhost:employee
Statement failed, SQLSTATE = 28000
Your user name and password are not defined. Ask your database
administrator to set up a Firebird login.
Use CONNECT or CREATE DATABASE to specify a database
SQL> ^D
Bad login:
# ./isql -user aasysdba -pas qqq localhost:employee
Statement failed, SQLSTATE = 28000
Your user name and password are not defined. Ask your database
administrator to set up a Firebird login.
Use CONNECT or CREATE DATABASE to specify a database
SQL> ^D
aafemt
changed the title
Wrong error message on login if the user doesn't exists
Wrong error message on login if the user doesn't exists and WireCrypt is disabled
Aug 28, 2023
mrotteveel
changed the title
Wrong error message on login if the user doesn't exists and WireCrypt is disabled
Wrong error message on login if the user doesn't exist and WireCrypt is disabled
Sep 21, 2023
If WireCrypt is disabled an attempt to attach with non-existing user returns isc_login_error instead of isc_login.
Two problems here:
The text was updated successfully, but these errors were encountered: