SQL injection vulnerability in save.php in PHPSurveyor 0.995 and earlier allows remote attackers to execute arbitrary SQL commands via the surveyid cookie. NOTE: this issue could be leveraged to execute arbitrary PHP code, as demonstrated by inserting directory traversal sequences into the database, which are then processed by the thissurvey['language'] variable.
https://exchange.xforce.ibmcloud.com/vulnerabilities/25970
http://www.vupen.com/english/advisories/2006/1451
http://www.securityfocus.com/bid/17633
http://www.securityfocus.com/archive/1/431508/100/0/threaded