<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200506-20">
  <title>Cacti: Several vulnerabilities</title>
  <synopsis>
    Cacti is vulnerable to several SQL injection, authentication bypass and
    file inclusion vulnerabilities.
  </synopsis>
  <product type="ebuild">cacti</product>
  <announced>2005-06-22</announced>
  <revised count="03">2006-05-22</revised>
  <bug>96243</bug>
  <bug>97475</bug>
  <access>remote</access>
  <affected>
    <package name="net-analyzer/cacti" auto="yes" arch="*">
      <unaffected range="ge">0.8.6f</unaffected>
      <vulnerable range="lt">0.8.6f</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Cacti is a complete web-based frontend to rrdtool.
    </p>
  </background>
  <description>
    <p>
    Cacti fails to properly sanitize input which can lead to SQL injection,
    authentication bypass as well as PHP file inclusion.
    </p>
  </description>
  <impact type="high">
    <p>
    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.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Cacti users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=net-analyzer/cacti-0.8.6f"</code>
    <p>
    Note: Users with the vhosts USE flag set should manually use
    webapp-config to finalize the update.
    </p>
  </resolution>
  <references>
    <uri link="https://www.cacti.net/release_notes_0_8_6e.php">Cacti Release Notes - 0.8.6e</uri>
    <uri link="http://www.idefense.com/application/poi/display?id=267&amp;type=vulnerabilities&amp;flashstatus=false">iDEFENSE SQL injection advisory</uri>
    <uri link="http://www.idefense.com/application/poi/display?id=266&amp;type=vulnerabilities&amp;flashstatus=false">iDEFENSE config_settings advisory</uri>
    <uri link="http://www.idefense.com/application/poi/display?id=265&amp;type=vulnerabilities&amp;flashstatus=false">iDEFENSE remote file inclusion advisory</uri>
    <uri link="https://www.cacti.net/release_notes_0_8_6f.php">Cacti  Release Notes - 0.8.6f</uri>
    <uri link="https://www.hardened-php.net/advisory-032005.php">Hardened - PHP Project Cacti Multiple SQL Injection Vulnerabilities</uri>
    <uri link="https://www.hardened-php.net/advisory-042005.php">Hardened - PHP Project Cacti Remote Command Execution Vulnerability</uri>
    <uri link="https://www.hardened-php.net/advisory-052005.php">Hardened - PHP Project Cacti Authentification/Addslashes Bypass Vulnerability</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1524">CVE-2005-1524</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1525">CVE-2005-1525</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1526">CVE-2005-1526</uri>
  </references>
  <metadata tag="submitter" timestamp="2005-06-21T20:41:03Z">
    jaervosz
  </metadata>
  <metadata tag="bugReady" timestamp="2005-06-22T08:16:34Z">
    koon
  </metadata>
</glsa>
