SQL injection vulnerability in graph_templates_inputs.php in Cacti 0.8.8b allows remote attackers to execute arbitrary SQL commands via the graph_template_input_id and graph_template_id parameters.
https://www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2016-007/?fid=7789