<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>80602</bug_id>
          
          <creation_ts>2005-02-03 09:44 0000</creation_ts>
          <short_desc>www-misc/htdig: Unspecified Input Validation Hole Permits Cross-Site Scripting Attacks</short_desc>
          <delta_ts>2005-02-13 12:58:03 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Security</product>
          <component>Vulnerabilities</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://securitytracker.com/alerts/2005/Feb/1013078.html</bug_file_loc>
          <status_whiteboard>B4 [glsa]</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>formula7@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>jaervosz@gentoo.org</cc>
    
    <cc>web-apps@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>formula7@gentoo.org</who>
            <bug_when>2005-02-03 09:44:01 0000</bug_when>
            <thetext>Description:  An input validation vulnerability was reported in ht://dig. A remote user can conduct cross-site scripting attacks.

SuSE reported that a cross-site scripting vulnerability was discovered by Michael Krax. A remote user can cause arbitrary scripting code to be executed by the target user&apos;s browser. The code will originate from the site running the ht://dig software and will run in the security context of that site. As a result, the code will be able to access the target user&apos;s cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

Impact:  A remote user can access the target user&apos;s cookies (including authentication cookies), if any, associated with the site running the ht://dig software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-02-04 00:52:10 0000</bug_when>
            <thetext>Created an attachment (id=50309)
htdig-3.2.0b6-unescaped_output.patch

Patch from RedHat</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-02-04 00:53:17 0000</bug_when>
            <thetext>web-apps: please apply and bump</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-02-04 00:53:37 0000</bug_when>
            <thetext>*** Bug 79691 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ka0ttic@gentoo.org</who>
            <bug_when>2005-02-10 08:36:19 0000</bug_when>
            <thetext>I&apos;ve backported the patch to 3.1.6; qtest.cc doesn&apos;t exist in this release, so I&apos;ve only patched htsearch.cc.

3.1.6-r7 is stable on x86.  amd64, ppc, and sparc, please mark stable.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>luckyduck@gentoo.org</who>
            <bug_when>2005-02-10 09:14:42 0000</bug_when>
            <thetext>stable on amd64</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hansmi@gentoo.org</who>
            <bug_when>2005-02-10 12:28:00 0000</bug_when>
            <thetext>Stable on ppc.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>t4y68ds02@sneakemail.com</who>
            <bug_when>2005-02-11 09:52:31 0000</bug_when>
            <thetext>htdig-3.1.6-r4.ebuild has SLOT=&quot;0&quot; and htdig-3.1.6-r7.ebuild does not. This is causing both version to want to be installed simultaneously. Shouldn&apos;t the new ebuild set the slot as well?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ka0ttic@gentoo.org</who>
            <bug_when>2005-02-11 10:04:02 0000</bug_when>
            <thetext>&gt; htdig-3.1.6-r4.ebuild has SLOT=&quot;0&quot; and htdig-3.1.6-r7.ebuild does not. This is causing both version to want to be installed simultaneously. Shouldn&apos;t the new ebuild set the slot as well?

Karl, no and actually it&apos;s not even possible to set SLOT in ebuilds that inherit webapp.eclass.  SLOT is handled by webapps.eclass which r4 doesn&apos;t use (it uses the older deprecated webapp-apache).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>weeve@gentoo.org</who>
            <bug_when>2005-02-12 17:59:53 0000</bug_when>
            <thetext>Stable on SPARC.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-02-13 05:21:19 0000</bug_when>
            <thetext>Security please vote on GLSA.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-02-13 05:51:57 0000</bug_when>
            <thetext>I vote for a GLSA on this one.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vorlon@gentoo.org</who>
            <bug_when>2005-02-13 09:16:47 0000</bug_when>
            <thetext>dito</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lewk@gentoo.org</who>
            <bug_when>2005-02-13 12:58:03 0000</bug_when>
            <thetext>GLSA 200502-16</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>50309</attachid>
            <date>2005-02-04 00:52 0000</date>
            <desc>htdig-3.2.0b6-unescaped_output.patch</desc>
            <filename>htdig-3.2.0b6-unescaped_output.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGh0ZGlnLTMuMi4wYjYvaHRzZWFyY2gvaHRzZWFyY2guY2MudW5lc2NhcGVkX291dHB1dAky
MDA1LTAxLTI1IDEyOjUwOjUxLjAwMDAwMDAwMCArMDEwMAorKysgaHRkaWctMy4yLjBiNi9odHNl
YXJjaC9odHNlYXJjaC5jYwkyMDA1LTAxLTI1IDEyOjUyOjQ1LjAwMDAwMDAwMCArMDEwMApAQCAt
MjExLDggKzIxMSw3IEBACiAJfQogCWlmIChhY2Nlc3MoKGNoYXIq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