SQL injection vulnerability in the hotpot_delete_selected_attempts function in report.php in the HotPot module in Moodle 1.6 before 1.6.7, 1.7 before 1.7.5, 1.8 before 1.8.6, and 1.9 before 1.9.2 allows remote attackers to execute arbitrary SQL commands via a crafted selected attempt.
https://euvd.enisa.europa.eu/vulnerability/EUVD-2008-6094
http://www.debian.org/security/2008/dsa-1691
http://moodle.org/mod/forum/discuss.php?d=101402
http://cvs.moodle.org/moodle/mod/hotpot/report.php?r1=1.8.6.1&r2=1.8.6.2