Informix Long Username Buffer Overflow Vulnerability



NGSSoftware Insight Security Research Advisory

Name: Informix Long Username Buffer Overflow Vulnerability
Systems Affected: Informix 9.40.xC6 and earlier, 10.00.xC2 and earlier
Severity: Critical
Vendor URL: http://www.ibm.com/
Author: David Litchfield [ davidl@xxxxxxxxxxxxxxx ]
Date of Public Advisory: 2nd August 2006
Advisory number: #NISR02082006A
CVEID: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-3853
Advisory URL: http://www.ngssoftware.com/research/

Description
***********
Informix Dynamic Server is a database developed by IBM. During a security assessment of the database it was found to be vulnerable to a stack based buffer overflow in the authentication procedure.

Details
*******
When an Informix server logs on a user it copies the username to a 260 byte stack based buffer without first verifying its length. An attacker can exploit this by overflowing this buffer to overwrite the saved return address on the stack and thus redirect the process' path of execution to a location of their choosing.

Whilst the IBM advisory indicates that only Informix running on Windows is vulnerable to this NGS we're able to determine that Informix running on Linux is also vulnerable.

Fix Information
***************
IBM was alerted to this flaw on the 6th January 2005; a fix has now been made available. IBM's advisory on the matter can be found here: http://www-1.ibm.com/support/docview.wss?uid=swg21242921

NGSSQuirreL for Informix, an advanced vulnerability assessment scanner designed specifically for Informix, can be used to accurately determine whether your servers are vulnerable to this flaw. More information about NGSSQuirreL for Informix can be found here http://www.ngssoftware.com/products/database-security/ngs-squirrel-informix.php

About NGSSoftware
*****************

NGSSoftware develops vulnerability assessment and compliancy tools for database servers including Oracle, Microsoft SQL Server, DB2, Sybase and Informix. Headquartered in the United Kingdom NGS has offices in London, St. Andrews (UK), Sydney, Brisbane, and Perth (Australia) and Texas in the United States; NGSConsulting provide services to some of the largest and most demanding organizations around the globe.

http://www.ngssoftware.com/

Telephone +44 208 401 0070
Fax +44 208 401 0076

enquiries@xxxxxxxxxxxxxxx



Relevant Pages

  • Error logging buffer overflow in Informix
    ... NGSSoftware Insight Security Research Advisory ... Informix Dynamic Server is a database developed by IBM. ... When IBM released a patch for the overly long username buffer overflow it was discovered that the patch introduced a new buffer overflow vulnerability. ...
    (Bugtraq)
  • [UNIX] IBM Informix Dynamic Server DBLANG Directory Traversal Vulnerability
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... IBM Informix Dynamic Server DBLANG Directory Traversal Vulnerability ... Local exploitation of a directory traversal vulnerability in IBM Corp.'s ... attacker can cause set-uid binaries to use Native Language Support ...
    (Securiteam)
  • XSS in IBM Open Admin Tool
    ... Product version tested: OAT v2.27 ... Open Admin tool For IDS Cross Site Scripting Vulnerability ... OpenAdmin Tool is a PHP-based Web browser administration tool for managing one ... or more Informix Dynamic Servers. ...
    (Bugtraq)
  • Multiple Arbitrary Command Execution Vulnerabilities
    ... Informix Dynamic Server is a database developed by IBM. ... During a security assessment of Informix multiple arbitrary command execution flaws were found. ... NGSSQuirreL for Informix, an advanced vulnerability assessment scanner designed specifically for Informix, can be used to accurately determine whether your servers are vulnerable to this flaw. ...
    (Bugtraq)
  • Multiple Arbitrary File Access (Write/Read) Vulnerabilities
    ... NGSSoftware Insight Security Research Advisory ... Informix Dynamic Server is a database developed by IBM. ... NGSSQuirreL for Informix, an advanced vulnerability assessment scanner designed specifically for Informix, can be used to accurately determine whether your servers are vulnerable to this flaw. ...
    (Bugtraq)