Public Vulnerability Reports

Borland Interbase admin.ib Administrative Access Vulnerability

03.19.04

BACKGROUND

Borland Interbase is a small, high performance commercial database for
Linux, Solaris, and Windows operating systems. More information about
Borland Interbase is available at http://www.borland.com/interbase/.

DESCRIPTION

Exploitation of default file permissions in Borland Interbase can allow
local attackers to gain database administrative privileges.

The vulnerability specifically exists due to insecure permissions on the
admin.ib user database file. Local attackers can add or modify existing
accounts to gain administrative privileges.

The default file permissions are shown below:

    [root@labs interbase]# ls -l /opt/interbase/admin.ib

    -rw-rw-rw- 1 root root 616497 Dec 30 11:17 /opt/interbase/admin.ib

ANALYSIS

Successful exploitation yields administrative privileges over the
database to local attackers. This can lead to further compromise as any
information stored within the database is now available to the attacker.
This may include: authentication information, financial information and
personal information.

Exploit code for this issue is unnecessary.

DETECTION

iDEFENSE has confirmed the existence of this vulnerability in Borland
Interbase 7.1 for Linux. It is suspected that previous versions of
Borland Interbase for Linux are also vulnerable.

WORKAROUND

S

Remove global write permissions from the admin.ib user database file.

    [root@labs interbase]# chmod 664 /opt/interbase/admin.ib

    [root@labs interbase]# ls -l /opt/interbase/admin.ib

    -rw-rw-r-- 1 root root 616497 Dec 30 11:17 /opt/interbase/admin.ib

CVE INFORMATION

A Mitre Corp. Common Vulnerabilities and Exposures (CVE) number has not
been assigned yet.

LEGAL NOTICES

Copyright © 2004 Verisign, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDEFENSE. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice@idefense.com for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.