Cacti is vulnerable to several SQL injection, authentication bypass and file inclusion vulnerabilities.
|Package||net-analyzer/cacti on all architectures|
|Affected versions||< 0.8.6f|
|Unaffected versions||>= 0.8.6f|
Cacti is a complete web-based frontend to rrdtool.
Cacti fails to properly sanitize input which can lead to SQL injection, authentication bypass as well as PHP file inclusion.
An attacker could potentially exploit the file inclusion to execute arbitrary code with the permissions of the web server. An attacker could exploit these vulnerabilities to bypass authentication or inject SQL queries to gain information from the database. Only systems with register_globals set to "On" are affected by the file inclusion and authentication bypass vulnerabilities. Gentoo Linux ships with register_globals set to "Off" by default.
There is no known workaround at this time.
All Cacti users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-analyzer/cacti-0.8.6f"
Note: Users with the vhosts USE flag set should manually use webapp-config to finalize the update.