Cacti: SQL injection — GLSA 200712-02 An SQL injection vulnerability has been discovered in Cacti. Affected packages Package net-analyzer/cacti on all architectures Affected versions < 0.8.7a Unaffected versions revision >= 0.8.6j-r7 >= 0.8.7a Background Cacti is a complete web-based frontend to rrdtool. Description It has been reported that the "local_graph_id" variable used in the file graph.php is not properly sanitized before being processed in an SQL statement. Impact A remote attacker could send a specially crafted request to the vulnerable host, possibly resulting in the execution of arbitrary SQL code. Workaround There is no known workaround at this time. Resolution All Cacti users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose ">=net-analyzer/cacti-0.8.6j-r7" References CVE-2007-6035