SQL injection vulnerability in Cacti 0.8.6i and earlier, when register_argc_argv is enabled, allows remote attackers to execute arbitrary SQL commands via the (1) second or (2) third arguments to cmd.php. NOTE: this issue can be leveraged to execute arbitrary commands since the SQL query results are later used in the polling_items array and popen function.
https://www.exploit-db.com/exploits/3029
https://exchange.xforce.ibmcloud.com/vulnerabilities/31177
http://www.vupen.com/english/advisories/2006/5193
http://www.securityfocus.com/bid/21799
http://www.securityfocus.com/archive/1/457290/100/0/threaded
http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.001.html
http://www.novell.com/linux/security/advisories/2007_07_cacti.html
http://www.mandriva.com/security/advisories?name=MDKSA-2007:015
http://www.debian.org/security/2007/dsa-1250
http://www.cacti.net/release_notes_0_8_6j.php
http://securitytracker.com/id?1017451
http://security.gentoo.org/glsa/glsa-200701-23.xml
http://secunia.com/advisories/23941
http://secunia.com/advisories/23917