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.
https://exchange.xforce.ibmcloud.com/vulnerabilities/41960
http://www.securityfocus.com/bid/28836
http://www.securityfocus.com/archive/1/491073/100/0/threaded
http://www.appsecinc.com/resources/alerts/db2/2008-03.shtml
http://www-1.ibm.com/support/docview.wss?uid=swg1IZ10776
http://www-1.ibm.com/support/docview.wss?uid=swg1IZ06977
http://www-1.ibm.com/support/docview.wss?uid=swg1IZ06976
http://securityreason.com/securityalert/3840