Multiple SQL injection vulnerabilities in the get_record function in datalib.php in Moodle 1.5.2 allow remote attackers to execute arbitrary SQL commands via the id parameter in (1) category.php and (2) info.php.
https://exchange.xforce.ibmcloud.com/vulnerabilities/23058
http://www.vupen.com/english/advisories/2005/2387
http://securitytracker.com/id?1015181