Cacti: Several vulnerabilities
Gentoo Linux Security Advisory
||GLSA 200506-20 / cacti
||June 22, 2005
||May 22, 2006: 03
All supported architectures
Cacti is vulnerable to several SQL injection, authentication bypass and
file inclusion vulnerabilities.
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:
Code Listing 3.1: Resolution
# 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.