ZDI-10-217: IBM Informix Dynamic Server DBINFO Remote Code Execution Vulnerability http://www.zerodayinitiative.com/advisories/ZDI-10-217 October 18, 2010 -- CVSS: 9, (AV:N/AC:L/Au:S/C:C/I:C/A:C) -- Affected Vendors: IBM -- Affected Products: IBM Informix -- TippingPoint(TM) IPS Customer Protection: TippingPoint IPS customers have been protected against this vulnerability by Digital Vaccine protection filter ID 6418. For further product information on the TippingPoint IPS, visit: http://www.tippingpoint.com -- Vulnerability Details: This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of IBM Informix Database Server. SQL query execution privileges are required to exploit this vulnerability. The specific flaw exists when processing the arguments to the DBINFO keyword in a SQL query. User-supplied data is copied into a stack-based buffer without proper bounds checking resulting in an exploitable overflow. Exploitation can result in arbitrary code execution under the context of the database server. -- Vendor Response: IBM states: This issue was fixed in version by defect# idsdb00165017 - Fix checked in after last 7.31 fix pack was released. 7.31 is now EOS. Fix is available for special build request if Service Extension has been purchased. Fix is not included in an available fix pack. idsdb00165019 - Fix checked in after last 9.40 fix pack was released. 9.40 is now EOS. Fix is available for special build request if Service Extension has been purchased. Fix is not included in an available fix pack. idsdb00165021 - IDS 10.00.xC10 idsdb00165022 - IDS 11.10.xC3 idsdb00165023 - IDS 11.50.xC3 -- Disclosure Timeline: 2008-08-26 - Vulnerability reported to vendor 2010-10-18 - Coordinated public release of advisory -- Credit: This vulnerability was discovered by: * Anonymous -- About the Zero Day Initiative (ZDI): Established by TippingPoint, The Zero Day Initiative (ZDI) represents a best-of-breed model for rewarding security researchers for responsibly disclosing discovered vulnerabilities. Researchers interested in getting paid for their security research through the ZDI can find more information and sign-up at: http://www.zerodayinitiative.com The ZDI is unique in how the acquired vulnerability information is used. TippingPoint does not re-sell the vulnerability details or any exploit code. Instead, upon notifying the affected product vendor, TippingPoint provides its customers with zero day protection through its intrusion prevention technology. Explicit details regarding the specifics of the vulnerability are not exposed to any parties until an official vendor patch is publicly available. Furthermore, with the altruistic aim of helping to secure a broader user base, TippingPoint provides this vulnerability information confidentially to security vendors (including competitors) who have a vulnerability protection or mitigation product. Our vulnerability disclosure policy is available online at: http://www.zerodayinitiative.com/advisories/disclosure_policy/ Follow the ZDI on Twitter: http://twitter.com/thezdi