Bugtraq mailing list archives

[ GLSA 200712-02 ] Cacti: SQL injection


From: Pierre-Yves Rofes <py () gentoo org>
Date: Wed, 05 Dec 2007 23:42:41 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                        GLSA 200712-02:02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Cacti: SQL injection
      Date: December 05, 2007
   Updated: December 05, 2007
      Bugs: #199509
        ID: 200712-02:02

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

An SQL injection vulnerability has been discovered in Cacti.

Background
==========

Cacti is a complete web-based frontend to rrdtool.

Affected packages
=================

    -------------------------------------------------------------------
     Package             /  Vulnerable  /                   Unaffected
    -------------------------------------------------------------------
  1  net-analyzer/cacti      < 0.8.7a                    *>= 0.8.6j-r7
                                                             >= 0.8.7a

Description
===========

It has been reported that the "local_graph_id" variable used in the
file graph.php is not properly sanitized before being processed in an
SQL statement.

Impact
======

A remote attacker could send a specially crafted request to the
vulnerable host, possibly resulting in the execution of arbitrary SQL
code.

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.6j-r7"

References
==========

  [ 1 ] CVE-2007-6035
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6035

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200712-02.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security () gentoo org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2007 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHVylguhJ+ozIKI5gRAnP7AJ49pQn5KjF96/1dEDG06qrysA40tQCffoPa
2ItH137QrWme8kLsvUHVDG8=
=e0gS
-----END PGP SIGNATURE-----


Current thread: