Firebird GDS_Inet_Server Interbase Environment Variable Buffer Overflow Vulnerability

BID:7546

Info

Firebird GDS_Inet_Server Interbase Environment Variable Buffer Overflow Vulnerability

Bugtraq ID: 7546
Class: Boundary Condition Error
CVE:
Remote: No
Local: Yes
Published: May 10 2003 12:00AM
Updated: May 10 2003 12:00AM
Credit: Discovery of this vulnerability credited to "bob" <[email protected]>.
Vulnerable: Gentoo Linux 1.4 _rc3
Gentoo Linux 1.4 _rc2
Gentoo Linux 1.4 _rc1
Gentoo Linux 1.4
Gentoo Linux 1.2
Gentoo Linux 1.1 a
Gentoo Linux 0.7
Gentoo Linux 0.5
Firebird Firebird 1.0.2
+ FreeBSD FreeBSD 4.7
Firebird Firebird 1.0
Borland/Inprise Interbase 6.0
- Cobalt Qube 3.0
- Cobalt RaQ 4.0
- Cobalt RaQ 3.0
- Debian Linux 2.2 sparc
- Debian Linux 2.2 powerpc
- Debian Linux 2.2 IA-32
- Debian Linux 2.2 arm
- Debian Linux 2.2 alpha
- Debian Linux 2.2 68k
- HP HP-UX 11.0
- Mandriva Linux Mandrake 8.2
- Mandriva Linux Mandrake 8.1 ia64
- Mandriva Linux Mandrake 8.1
- Mandriva Linux Mandrake 8.0 ppc
- Mandriva Linux Mandrake 8.0
- Microsoft Windows 2000 Professional
- Microsoft Windows NT 4.0
- Redhat Linux 7.3 i386
- Redhat Linux 7.2 ia64
- Redhat Linux 7.2 i386
- Redhat Linux 7.1 ia64
- Redhat Linux 7.1 i386
- Redhat Linux 7.1 alpha
- Redhat Linux 7.0 sparc
- Redhat Linux 7.0 i386
- Redhat Linux 7.0 alpha
- Redhat Linux 6.2 sparc
- Redhat Linux 6.2 i386
- Redhat Linux 6.2 alpha
- SCO Unixware 7.1
- Sun Solaris 8_sparc
- SuSE Linux 8.0 i386
- SuSE Linux 7.3 sparc
- SuSE Linux 7.3 ppc
- SuSE Linux 7.3 i386
- SuSE Linux 7.2 i386
- SuSE Linux 7.1 x86
- SuSE Linux 7.1 sparc
- SuSE Linux 7.1 ppc
- SuSE Linux 7.1 alpha
- SuSE Linux 7.0 sparc
- SuSE Linux 7.0 ppc
- SuSE Linux 7.0 i386
- SuSE Linux 7.0 alpha
- SuSE Linux 6.4 ppc
- SuSE Linux 6.4 i386
- SuSE Linux 6.4 alpha
Not Vulnerable:

Discussion

Firebird GDS_Inet_Server Interbase Environment Variable Buffer Overflow Vulnerability

Interbase is a database distributed and maintained by Borland. It is available for Unix and Linux operating systems. As Firebird is based on Borland/Inprise Interbase source code, it is very likely that Interbase is prone to this issue also.

A buffer overflow has been discovered in the setuid root program gds_inet_server, packaged with Firebird. This problem could allow a local user to execute the program with strings of arbitrary length. By using a custom crafted string, the attacker could overwrite stack memory, including the return address of a function, and potentially execute arbitrary code as root.

Exploit / POC

Firebird GDS_Inet_Server Interbase Environment Variable Buffer Overflow Vulnerability

DSR-firebird.c contributed by bob <[email protected]> (for Firebird 1.0.2)
DSR-olbird.c contributed by bob <[email protected]> (for Firebird 1.0.0)

Solution / Fix

Firebird GDS_Inet_Server Interbase Environment Variable Buffer Overflow Vulnerability

Solution:
Gentoo has released an advisory (GLSA 200405-18) and an updated eBuild to address this issue. Gentoo advises that users upgrade to the latest version of Firebird by executing the following commands as a Superuser:
emerge sync
emerge -pv ">=dev-db/firebird-1.5"
emerge ">=dev-db/firebird-1.5"

References

Firebird GDS_Inet_Server Interbase Environment Variable Buffer Overflow Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report