<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200408-21">
  <title>Cacti: SQL injection vulnerability</title>
  <synopsis>
    With special configurations of Cacti it is possible to change passwords via
    a SQL injection attack.
  </synopsis>
  <product type="ebuild">cacti</product>
  <announced>2004-08-23</announced>
  <revised count="04">2006-05-22</revised>
  <bug>60630</bug>
  <access>remote</access>
  <affected>
    <package name="net-analyzer/cacti" auto="yes" arch="*">
      <unaffected range="ge">0.8.5a-r1</unaffected>
      <vulnerable range="le">0.8.5a</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Cacti is a complete web-based front end to rrdtool.
    </p>
  </background>
  <description>
    <p>
    Cacti is vulnerable to a SQL injection attack where an attacker may
    inject SQL into the Username field.
    </p>
  </description>
  <impact type="normal">
    <p>
    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.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time. All users are encouraged to
    upgrade to the latest available version of Cacti.
    </p>
  </workaround>
  <resolution>
    <p>
    All users should upgrade to the latest available version of Cacti, as
    follows:
    </p>
    <code>
    # emerge sync
    
    # emerge -pv "&gt;=net-analyzer/cacti-0.8.5a-r1"
    # emerge "&gt;=net-analyzer/cacti-0.8.5a-r1"</code>
  </resolution>
  <references>
    <uri link="http://archives.neohapsis.com/archives/fulldisclosure/2004-08/0717.html">Full Disclosure Announcement</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-1737">CVE-2004-1737</uri>
  </references>
  <metadata tag="requester" timestamp="2004-08-19T05:36:15Z">
    dmargoli
  </metadata>
  <metadata tag="submitter" timestamp="2004-08-19T08:02:41Z">
    jaervosz
  </metadata>
</glsa>
