IBM DB2 buildDasPaths() DASPROF environment variable buffer overflow

db2-environment-variables-bo (36067) The risk level is classified as HighHigh Risk

Description:

IBM DB2 is vulnerable to a stack-based buffer overflow in the buildDasPaths() function. By setting an overly long DASPROF environment variable, a local attacker could overflow a buffer and execute arbitrary code on the system with root privileges.

Platforms Affected:

  • IBM, DB2 Universal Database 8.1 FP13
  • IBM, DB2 Universal Database 8.1 FP14
  • IBM, DB2 Universal Database 8.1 FP1
  • IBM, DB2 Universal Database 8.1 FP2
  • IBM, DB2 Universal Database 8.1 FP3
  • IBM, DB2 Universal Database 8.1 FP4
  • IBM, DB2 Universal Database 8.1 FP5
  • IBM, DB2 Universal Database 8.1 FP6
  • IBM, DB2 Universal Database 8.1 FP7
  • IBM, DB2 Universal Database 8.1 FP8
  • IBM, DB2 Universal Database 8.1 FP9
  • IBM, DB2 Universal Database 8.1 FP10
  • IBM, DB2 Universal Database 8.1 FP11
  • IBM, DB2 Universal Database 8.1 FP12
  • IBM, DB2 Universal Database 8.1

Remedy:

For DB2 Universal Database 8:
Refer to IBM APAR IY99311 for patch, upgrade, or suggested workaround information. See References.

For DB2 Universal Database 9.1:
Refer to IBM APAR IY97346 for patch, upgrade, or suggested workaround information. See References.

Consequences:

Gain Privileges

References:

Reported:

Aug 14, 2007

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 xforce@iss.net

Return to the main page