Multiple SQL injection vulnerabilities in mainfile.php in NPDS 5.10 and earlier allow remote authenticated users to execute arbitrary SQL commands via a (1) nickname or (2) Id in a cookie, or (3) the X-Forwarded-For (X_FORWARDED_FOR) HTTP header.
https://exchange.xforce.ibmcloud.com/vulnerabilities/34109
http://www.securityfocus.com/archive/1/467696/100/0/threaded