Gentoo Logo

Cacti: SQL injection vulnerability

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200408-21 / cacti
Release Date August 23, 2004
Latest Revision May 22, 2006: 04
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-analyzer/cacti <= 0.8.5a >= 0.8.5a-r1 All supported architectures

Related bugreports: #60630

Synopsis

With special configurations of Cacti it is possible to change passwords via a SQL injection attack.

2.  Impact Information

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.

3.  Resolution Information

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:

Code Listing 3.1: Resolution

# emerge sync

# emerge -pv ">=net-analyzer/cacti-0.8.5a-r1"
# emerge ">=net-analyzer/cacti-0.8.5a-r1"

4.  References



Print

Page updated August 23, 2004

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.