Multiple SQL injection vulnerabilities in mcGallery PRO 2.2 and earlier allow remote attackers to execute arbitrary SQL commands via the (1) id (2) start and (3) rand parameters to show.php and the (4) album parameter to index.php.