SQL injection vulnerability in the host_new_graphs function in graphs_new.php in Cacti 0.8.8f and earlier allows remote authenticated users to execute arbitrary SQL commands via the cg_g parameter in a save action.
bugs.cacti.net/view.php?id=2652
packetstormsecurity.com/files/135191/Cacti-0.8.8f-graphs_new.php-SQL-Injection.html
seclists.org/fulldisclosure/2016/Jan/16
www.debian.org/security/2016/dsa-3494
www.openwall.com/lists/oss-security/2016/01/04/8
www.openwall.com/lists/oss-security/2016/01/04/9
www.securitytracker.com/id/1034573
security.gentoo.org/glsa/201607-05