<<< Date Index >>>     <<< Thread Index >>>

Team SHATTER Security Advisory: IBM DB2 UDB Arbitrary file overwrite in SYSPROC.NNSTAT procedure



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Team SHATTER Security Advisory

IBM DB2 UDB Arbitrary file overwrite in SYSPROC.NNSTAT procedure

April 17th 2008

Risk Level:
High

Affected versions:
All versions of IBM DB2 Database Server.

Remotely exploitable:
Yes (Authentication to Database Server is needed)

Credits:
This vulnerability was discovered and researched by Cesar Cerrudo of
Application Security Inc.

Details:
NNSTAT procedure retrieves currently available statistics on one or more
nicknames.
By supplying an existing file as a log file parameter, arbitrary files
can be overwritten on the system.
The NNSTAT procedure is installed by default.

Impact:
Any low privileged user can exploit this vulnerability to execute
arbitrary code.

Vendor Status:
Vendor was contacted and a patch was released.

Fix:
To fix the problem apply the FP16(v8), FP4a(v9.1) and FP1(v9.5):
http://www-1.ibm.com/support/docview.wss?rs=71&uid=swg21256235
http://www-1.ibm.com/support/docview.wss?rs=71&uid=swg21255572
http://www-1.ibm.com/support/docview.wss?rs=71&uid=swg21287889

APAR:
IZ06976 - V8 FP16
IZ06977 - V9.1 FP4a
IZ10776 - V9.5 FP1

Timeline:
Vendor Notification - 9/11/2007
Vendor Response - 11/14/2007
Fix - 4/15/2008
Public Disclosure - 4/17/2008
- --

Application Security, Inc's database security solutions have helped over
900 organizations secure their databases from all internal and external
threats while also ensuring that those organizations meet or exceed
regulatory compliance and audit requirements.


Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct,
indirect, or consequential loss or damage arising from use of, or
reliance on, this information.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFICHZ29EOAcmTuFN0RAgqDAKDUQdPaRINjA6b6vXUe3QZbuaKlBwCfZowx
1MlfPobx4kUeE5IcLMTxOjk=
=XaFf
-----END PGP SIGNATURE-----