DB2 < 9.5 Fix Pack 1 Multiple Vulnerabilities

This script is Copyright (C) 2008-2014 Tenable Network Security, Inc.


Synopsis :

The remote database server is affected by multiple issues.

Description :

The installation of DB2 9.5 on the remote host does not have any Fix
Packs applied and thus is affected by one or more of the following
issues :

- There is a security vulnerability in the 'NNSTAT'
procedure on Windows platforms only that allows low-
privileged users to overwrite arbitrary files
(IZ10776).

- There is a security vulnerability in the
'SYSPROC.ADMIN_SP_C' procedure on Windows platforms
that allows users to load arbitrary library and
execute arbitrary code in the system (IZ10917).

- An unspecified vulnerability affects 'DB2WATCH' and
'DB2FREEZE' on Solaris platforms (IZ12994).

- An authenticated, remote user can cause the DB2 instance
to crash by passing specially crafted parameters to
the 'RECOVERJAR' and 'REMOVE_JAR' procedures (IZ15496).

- There is an internal buffer overflow vulnerability in
the DAS process that could allow arbitrary code
execution on the affected host (IZ12406).

- A local attacker can create arbitrary files as root
on Unix and Linux platforms using symlinks to the
'dasRecoveryIndex', 'dasRecoveryIndex.tmp',
'.dasRecoveryIndex.lock', and 'dasRecoveryIndex.cor'
files during initialization (IZ12798).

- There are possible buffer overflows involving 'XQUERY',
'XMLQUERY', 'XMLEXISTS', and 'XMLTABLE' (IZ18431).

- There is a security vulnerability related to a
failure to switch the owner of the 'db2fmp' process
affecting Unix and Linux platforms (IZ19155).

- When a memory dump occurs, the password used to connect
to the database remains visible in clear text in
memory (JR28314).

- The CLR stored procedure deployment feature of IBM
Database Add-Ins for Visual Studio can be used to
escalate privileges or launch a denial of service
attack against a DB2 server (JR28431).

See also :

http://www.securityfocus.com/archive/1/491071/100/0/threaded
http://www.securityfocus.com/archive/1/491073/100/0/threaded
http://www.securityfocus.com/archive/1/491075/100/0/threaded
http://www.securityfocus.com/archive/1/496406/30/0/threaded
http://www.securityfocus.com/archive/1/496405/30/0/threaded
http://www-1.ibm.com/support/docview.wss?uid=swg1IZ10776
http://www-1.ibm.com/support/docview.wss?uid=swg1IZ10917
http://www-1.ibm.com/support/docview.wss?uid=swg1IZ12406
http://www-1.ibm.com/support/docview.wss?uid=swg1IZ12798
http://www-1.ibm.com/support/docview.wss?uid=swg1IZ18431
http://www-1.ibm.com/support/docview.wss?uid=swg1IZ19155
http://www-1.ibm.com/support/docview.wss?uid=swg1JR28314
http://www-1.ibm.com/support/docview.wss?uid=swg1JR28431
http://www-1.ibm.com/support/docview.wss?uid=swg21287889

Solution :

Apply DB2 Version 9.5 Fix Pack 1.

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 7.4
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Family: Databases

Nessus Plugin ID: 33763 (db2_95fp1.nasl)

Bugtraq ID: 28835
28836
28843

CVE ID: CVE-2008-1966
CVE-2008-1997
CVE-2008-1998
CVE-2008-3852
CVE-2008-3854