Cacti: SQL injection vulnerability — GLSA 200408-21 With special configurations of Cacti it is possible to change passwords via a SQL injection attack. Affected packages Package net-analyzer/cacti on all architectures Affected versions <= 0.8.5a Unaffected versions >= 0.8.5a-r1 Background Cacti is a complete web-based front end to rrdtool. Description Cacti is vulnerable to a SQL injection attack where an attacker may inject SQL into the Username field. Impact An attacker could compromise the Cacti service and potentially execute programs with the permissions of the user running Cacti. Only systems with php_flag magic_quotes_gpc set to Off are vulnerable. By default, Gentoo Linux installs PHP with this option set to On. Workaround There is no known workaround at this time. All users are encouraged to upgrade to the latest available version of Cacti. Resolution All users should upgrade to the latest available version of Cacti, as follows: # emerge sync # emerge -pv ">=net-analyzer/cacti-0.8.5a-r1" # emerge ">=net-analyzer/cacti-0.8.5a-r1" References Full Disclosure Announcement CVE-2004-1737