TippingPoint Zero Day Initiative

Firebird process_packet() Remote Stack Overflow Vulnerability

ZDI-07-057: October 10th, 2007

CVE ID

Affected Vendors

Affected Products

    Firebird SQL

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Firebird SQL server. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the database service fbserver.exe, which binds to TCP port 3050. When processing an overly long request, a stack buffer can be overflowed through a vulnerable call to sprintf() within the function process_packet(). If properly exploited, remote control of the affected system can be attained with SYSTEM credentials.

Vendor Response

Firebird has issued an update to correct this vulnerability. More details can be found at:

Disclosure Timeline

    2007-09-14 - Vulnerability reported to vendor
    2007-10-10 - Coordinated public release of advisory

Credit

This vulnerability was discovered by:
    Anonymous