Solved

Firebird server vulnerability ?

Posted on 2013-12-13
6
387 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 41

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 41

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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…

809 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