<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200502-16">
  <title>ht://Dig: Cross-site scripting vulnerability</title>
  <synopsis>
    ht://Dig is vulnerable to cross-site scripting attacks.
  </synopsis>
  <product type="ebuild">htdig</product>
  <announced>2005-02-13</announced>
  <revised count="01">2005-02-13</revised>
  <bug>80602</bug>
  <access>remote</access>
  <affected>
    <package name="www-misc/htdig" auto="yes" arch="*">
      <unaffected range="ge">3.1.6-r7</unaffected>
      <vulnerable range="lt">3.1.6-r7</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    ht://Dig is an HTTP/HTML indexing and searching system.
    </p>
  </background>
  <description>
    <p>
    Michael Krax discovered that ht://Dig fails to validate the
    'config' parameter before displaying an error message containing the
    parameter. This flaw could allow an attacker to conduct cross-site
    scripting attacks.
    </p>
  </description>
  <impact type="low">
    <p>
    By sending a carefully crafted message, an attacker can inject and
    execute script code in the victim's browser window. This allows to
    modify the behaviour of ht://Dig, and/or leak session information such
    as cookies to the attacker.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All ht://Dig users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=www-misc/htdig-3.1.6-r7"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0085">CAN-2005-0085</uri>
    <uri link="http://securitytracker.com/alerts/2005/Feb/1013078.html">SecurityTracker #1013078</uri>
  </references>
  <metadata tag="requester" timestamp="2005-02-13T17:17:57Z">
    vorlon078
  </metadata>
  <metadata tag="bugReady" timestamp="2005-02-13T17:19:04Z">
    vorlon078
  </metadata>
  <metadata tag="submitter" timestamp="2005-02-13T20:15:40Z">
    lewk
  </metadata>
</glsa>
