Cacti: Several vulnerabilities — GLSA 200506-20

Cacti is vulnerable to several SQL injection, authentication bypass and file inclusion vulnerabilities.

Affected packages

net-analyzer/cacti on all architectures
Affected versions < 0.8.6f
Unaffected versions >= 0.8.6f

Background

Cacti is a complete web-based frontend to rrdtool.

Description

Cacti fails to properly sanitize input which can lead to SQL injection, authentication bypass as well as PHP file inclusion.

Impact

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.

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.6f"

Note: Users with the vhosts USE flag set should manually use webapp-config to finalize the update.

References

Release date
June 22, 2005

Latest revision
May 22, 2006: 03

Severity
high

Exploitable
remote

Bugzilla entries