Firebird XDR protocol integer overflow
| firebird-xdrprotocol-integer-overflow (39996) |
Description:
Firebird is vulnerable to an integer overflow, caused by improper validation by the src/remote/protocol.cpp parser when processing specific tags on the XDR protocol. A remote attacker could exploit this vulnerability using unspecified attack vectors to corrupt memory and cause the victim's application to crash or execute arbitrary code on the vulnerable server.
Platforms Affected:
- FirebirdSQL, Firebird 1.0
- FirebirdSQL, Firebird 1.0.2
- FirebirdSQL, Firebird 1.0.3
- FirebirdSQL, Firebird 1.5
- FirebirdSQL, Firebird 1.5.0.4306
- FirebirdSQL, Firebird 1.5.1
- FirebirdSQL, Firebird 1.5.2
- FirebirdSQL, Firebird 1.5.2.4731
- FirebirdSQL, Firebird 1.5.3.4870
- FirebirdSQL, Firebird 1.5.4
- FirebirdSQL, Firebird 1.5.4.4910
- FirebirdSQL, Firebird 1.5.5
- FirebirdSQL, Firebird 2.0.0
- FirebirdSQL, Firebird 2.0.0.12748
- FirebirdSQL, Firebird 2.0.1
- FirebirdSQL, Firebird 2.0.1.12855
- FirebirdSQL, Firebird 2.0.2
- FirebirdSQL, Firebird 2.0.3
- FirebirdSQL, Firebird 2.1_alpha
- FirebirdSQL, Firebird 2.1_beta
- FirebirdSQL, Firebird 2.1_beta2
- Gentoo, Linux
Remedy:
Upgrade to the latest version of Firebird (1.5.6, 2.0.4, or 2.1 RC1 or later), available from SourceForge.net:Files. See References.
Consequences:
Gain Access
References:
- BugTraq Mailing List, Sun Mar 09 2008 - 08:02:19 CDT, Firebird remote BOF POC at http://archives.neohapsis.com/archives/bugtraq/2008-03/0121.html.
- Firebird Bug Tracker CORE-1681, Garbage data in the incoming remote packet may crash the server at http://tracker.firebirdsql.org/browse/CORE-1681.
- Firebird Web site, Firebird at http://www.firebirdsql.org/.
- Full-Disclosure Mailing List, Mon, 28 Jan 2008 15:32:00 -0200, CORE-2007-1219: Firebird Remote Memory Corruption at http://seclists.org/vulnwatch/2008/q1/0010.html.
- SourceForge.net: Files, Firebird Release Name: 2.1 RC1 at http://sourceforge.net/project/shownotes.php?group_id=9028&release_id=570800.
- BID-27403: Firebird Relational Database 'protocol.cpp' XDR Protocol Remote Memory Corruption Vulnerability
- CVE-2008-0387: Integer overflow in Firebird SQL 1.0.3 and earlier, 1.5.x before 1.5.6, 2.0.x before 2.0.4, and 2.1.x before 2.1.0 RC1 might allow remote attackers to execute arbitrary code via crafted (1) op_receive, (2) op_start, (3) op_start_and_receive, (4) op_send, (5) op_start_and_send, and (6) op_start_send_and_receive XDR requests, which triggers memory corruption.
- DSA-1529: firebird -- multiple vulnerabilities
- GLSA-200803-02: Firebird: Multiple vulnerabilities
- SA29501: Debian firebird2 Multiple Vulnerabilities
Reported:
Jan 28, 2008
The information within this database may change without notice. 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. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
