IBM DB2 sqllib/security/db2ckpw buffer overflow

ibm-db2-db2ckpw-bo (9078) The risk level is classified as HighHigh Risk

Description:

IIBM DB2 Universal Database is vulnerable to a buffer overflow, caused by improper bounds checking in the db2ckpw executable, which is used to verify usernames and passwords. By setting an overly long username in the file descriptor argument that is passed to sqllib/security/db2ckpw, a local attacker could overflow a buffer and execute arbitrary code on the system with root privileges.


Consequences:

Gain Privileges

Remedy:

For DB2 version 6.0:
Apply DB2 version 6.1, FixPak 10 (use FixPak 10 version released after 6 March 2002), as listed in IBM Managed Security Services Outside Advisory Redistribution MSS-OAR-E01-2002:318.1. See References.

For DB2 version 7.0:
Apply DB2 version 7.2, FixPak 6, as listed in IBM Managed Security Services Outside Advisory Redistribution MSS-OAR-E01-2002:318.1. See References.

References:

  • BID-4817: IBM DB2 db2ckpw Buffer Overflow Vulnerability
  • CVE-2002-1583: Buffer overflow in sqllib/security/db2ckpw for IBM DB2 Universal Database 6.0 and 7.0 allows local users to execute arbitrary code via a long username that is read from a file descriptor argument.
  • OSVDB ID: 16001: IBM DB2 db2ckpw Username Variable Local Overflow

Platforms Affected:

  • IBM DB2 6.0
  • IBM DB2 7.0

Reported:

May 10, 2002

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 (IBM 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.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page