The NNSTAT (aka SYSPROC.NNSTAT) procedure in IBM DB2 8 before FP16, 9.1 before FP4a, and 9.5 before FP1 on Windows allows remote authenticated users to overwrite arbitrary files via the log file parameter.
secunia.com/advisories/29022
secunia.com/advisories/29784
securityreason.com/securityalert/3840
www-1.ibm.com/support/docview.wss?uid=swg1IZ06976
www-1.ibm.com/support/docview.wss?uid=swg1IZ06977
www-1.ibm.com/support/docview.wss?uid=swg1IZ10776
www.appsecinc.com/resources/alerts/db2/2008-03.shtml
www.securityfocus.com/archive/1/491073/100/0/threaded
www.securityfocus.com/bid/28836
exchange.xforce.ibmcloud.com/vulnerabilities/41960