Solved

Firebird server vulnerability ?

Posted on 2013-12-13
6
388 Views
Last Modified: 2013-12-24
I have at home a Firebird server installed on my PC
It is accessible from the internet.
I developped a simple application for friends.
I didn't change the default admin and password account of the DB that can be accessed.
Is there some vulnerability involved ?
I mean, if somebody connects to it with for example SQL Manager Lite, can he do something else than "play" with the data inside that database ?
0
Comment
Question by:LeTay
  • 2
  • 2
  • 2
6 Comments
 
LVL 42

Expert Comment

by:pcelba
ID: 39717519
If wiping the database is just a game then why do you care about the rest of computer? :-)

OK, possible computer data damage depends on the user under which is Firebird running on the server (your computer). If the PC user has sufficient rights and the person attacking the computer is experienced enough then your computer is not safe. Firebird supports external UDFs which can do almost anything...

OTOH, are your friends experienced enough in computer hacking? Probably not. Do you know their friends? Probably not... etc.

So assign the Firebird to a dedicated user which can access just the Firebird data and the rest of computer is moreless safe.
0
 

Author Comment

by:LeTay
ID: 39717700
Understood.
Now how do I dedicate a specific user to access it ?
0
 
LVL 42

Expert Comment

by:pcelba
ID: 39717775
Simply create a new user in your Windows (Control Panel - User Accounts) and assign this user to the Firebird service. This user must not be an administrator and it must have full access to the data folder and all parts of your system used by Firebird. More about installation and security is here: http://www.firebirdsql.org/manual/qsg2-config.html

Also your friends should use newly created Firebird user names and their own passwords not the SYSDBA with masterkey.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 19

Accepted Solution

by:
NickUpson earned 500 total points
ID: 39717979
and change the password on the default account, sysdba can do anything with a database including remove all data & tables
0
 

Author Comment

by:LeTay
ID: 39718853
Can you refresh my mind about the way to setup an account and password in a firebird database ?
Thanks
0
 
LVL 19

Assisted Solution

by:NickUpson
NickUpson earned 500 total points
ID: 39719005
you can use a 3rd party tool or the gsec command line that comes with the install

"gsec -- "will tell you all the options
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Read about achieving the basic levels of HRIS security in the workplace.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question