TPTI-07-13: Borland Interbase ibserver.exe Create-Request Buffer Overflow Vulnerability Jul 24 2007 08:43PM
TSRT 3com com
TPTI-07-13: Borland Interbase ibserver.exe Create-Request Buffer

Overflow Vulnerability



July 24, 2007

-- CVE ID:


-- Affected Vendor:


-- Affected Products:

Borland InterBase 2007

-- TippingPoint(TM) IPS Customer Protection:

TippingPoint IPS customers have been protected against this

vulnerability since February 1, 2007 by Digital Vaccine protection

filter ID 5066. For further product information on the TippingPoint IPS:


-- Vulnerability Details:

This vulnerability allows remote attackers to execute arbitrary code on

vulnerable installations of Borland Interbase. Authentication is not

required to exploit this vulnerability.

The specific flaw exists within the database service, ibserver.exe,

which binds to TCP port 3050. The service receives socket data in the

following format:

[4-byte request][request arguments][data]

A vulnerability exists in Interbase when specifying a "create" request

(0x14). The request is broken down as such:

[0x00000014][4-byte id][4-byte size][data]

The vulnerability exists during an inline string copy operation.

0x0043A0C5 mov ecx, [ebp+var_8D8]

0x0043A0CB and ecx, 0FFFFh

0x0043A0D1 mov esi, [ebp+arg_8]

0x0043A0D4 mov edi, [ebp+var_1C]

0x0043A0D7 mov eax, ecx

0x0043A0D9 shr ecx, 2

0x0043A0DC rep movsd

Where ecx is our 4-byte size, esi is our data, and edi a stack pointer.

When a large value is specified in the size, the associate data is

copied to the stack resulting in a classic overflow. With enough data

the SEH pointer can be compromised and arbitrary code execution is


-- Vendor Response:

Borland has released InterBase 2007 SP2 which addresses this

vulnerability. More details can be found at:


-- Disclosure Timeline:

2007.01.31 - Vulnerability reported to vendor

2007.02.01 - Digital Vaccine released to TippingPoint customers

2007.07.24 - Coordinated public release of advisory

-- Credit:

This vulnerability was discovered by Cody Pierce, TippingPoint DVLabs.

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments,
is being sent by 3Com for the sole use of the intended recipient(s) and
may contain confidential, proprietary and/or privileged information.
Any unauthorized review, use, disclosure and/or distribution by any
recipient is prohibited. If you are not the intended recipient, please
delete and/or destroy all copies of this message regardless of form and
any included attachments and notify 3Com immediately by contacting the
sender via reply e-mail or forwarding to 3Com at postmaster (at) 3com (dot) com. [email concealed]

[ reply ]


Privacy Statement
Copyright 2010, SecurityFocus