|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Firebird Relational Database Multiple Buffer Overflow Vulnerabilities
http://risesecurity.org/advisory/RISE-2007003/
Published: October 3, 2007
Updated: October 3, 2007
INTRODUCTION
There exists multiple vulnerabilities within functions of Firebird
Relational
Database, which when properly exploited can lead to remote compromise of the
vulnerable system.
These vulnerabilities were confirmed by us in the following versions of
Firebird
Relational Database, other versions may be also affected.
Firebird WI-V2.0.1.12855
Firebird WI-V2.0.0.12748
Firebird WI-V1.5.4.4910
Firebird WI-V1.5.3.4870
Firebird LI-V2.0.1.12855
Firebird LI-V2.0.0.12748
Firebird LI-V1.5.4.4910
Firebird LI-V1.5.3.4870
DETAILS
The vulnerable functions do not validate user supplied data when copying
it to a
stack-based buffer, resulting in a stack-based buffer overflow. The
exploitation
of these vulnerabilities are trivial and results in remote compromise of the
vulnerable system.
This is the list of vulnerable functions, some of them contain more than one
stack-based buffer overflow vulnerability.
1. INET_connect (Firebird 1.5)
2. SVC_attach (Firebird 1.5)
3. isc_attach_database (Firebird 2.0)
4. isc_create_database (Firebird 2.0)
These vulnerabilities can be triggered by sending specially crafted attach,
create and service attach requests.
Proof of concept codes for these vulnerabilities can be downloaded from our
website http://risesecurity.org/.
VENDOR
The vulnerabilities 1 and 2 were cerrected in Firebird XX-V2.0.0.12748,
3 and 4
were corrected in Firebird XX-V2.0.3.12981.
CREDITS
These vulnerabilities were discovered by Adriano Lima