Advisory Details

October 10th, 2007

Firebird process_packet() Remote Stack Overflow Vulnerability

ZDI-07-057
ZDI-CAN-237

CVE ID CVE-2007-4992
CVSS SCORE
AFFECTED VENDORS Firebird
AFFECTED PRODUCTS Firebird SQL
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID ['5627']. For further product information on the TippingPoint IPS: http://www.tippingpoint.com
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.

ADDITIONAL DETAILS Firebird has issued an update to correct this vulnerability. More details can be found at:
http://www.firebirdsql.org/rlsnotes/Firebird-2.0.3-ReleaseNotes.pdf
DISCLOSURE TIMELINE
  • 2007-09-14 - Vulnerability reported to vendor
  • 2007-10-10 - Coordinated public release of advisory
CREDIT Anonymous
BACK TO ADVISORIES