Multiple SQL injection vulnerabilities in Cacti 0.8.7 before 0.8.7b and 0.8.6 before 0.8.6k allow remote authenticated users to execute arbitrary SQL commands via the (1) graphlist parameter to graphview.php, (2) leafid and id parameters to tree.php, (3) localgraphid parameter to graphxport.php, and (4) login_username parameter to index.php/login.