Mandrake: xchat dns query handling
Posted by LinuxSecurity.com Team   
Mandrake xchat does not filter the response from an IRC server when a /dns query is executed, so an IRC server may return a malicious response formatted so that arbitrary commands are executed with the privilege of the user running xchat.

________________________________________________________________________

                Mandrake Linux Security Update Advisory
________________________________________________________________________

Package name:           xchat
Advisory ID:            MDKSA-2002:051
Date:                   August 14th, 2002
Affected versions:      7.1, 7.2, 8.0, 8.1, 8.2, Corporate Server 1.0.1
________________________________________________________________________

Problem Description:

 In versions of the xchat IRC client prior to version 1.8.9, xchat does
 not filter the response from an IRC server when a /dns query is
 executed.  xchat resolves hostnames by passing the configured resolver
 and hostname to a shell, so an IRC server may return a malicious
 response formatted so that arbitrary commands are executed with the
 privilege of the user running xchat.
________________________________________________________________________

References:

   http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0382
   http://online.securityfocus.com/bid/4376/info/
________________________________________________________________________

Updated Packages:

 Linux-Mandrake 7.1:
 d6d49335adada894c1aa3fa939d8b9f3  7.1/RPMS/xchat-1.8.9-1.2mdk.i586.rpm
 6d05bf91dcf5e713c80733c0266707c7  7.1/SRPMS/xchat-1.8.9-1.2mdk.src.rpm

 Linux-Mandrake 7.2:
 c95dd6649268bed1dbc11841edfcbef1  7.2/RPMS/xchat-1.8.9-1.2mdk.i586.rpm
 6d05bf91dcf5e713c80733c0266707c7  7.2/SRPMS/xchat-1.8.9-1.2mdk.src.rpm

 Mandrake Linux 8.0:
 9c5820900faa143354b912a3934f4238  8.0/RPMS/xchat-1.8.9-1.1mdk.i586.rpm
 8e90f10583d899d8fcec3add917cff9e  8.0/SRPMS/xchat-1.8.9-1.1mdk.src.rpm

 Mandrake Linux 8.0/ppc:
 4fbdf3b5273608a2c8f29d76c1f99b22  ppc/8.0/RPMS/xchat-1.8.9-1.1mdk.ppc.rpm
 8e90f10583d899d8fcec3add917cff9e  ppc/8.0/SRPMS/xchat-1.8.9-1.1mdk.src.rpm

 Mandrake Linux 8.1:
 b15fc620fccbb433f2342a5697878d46  8.1/RPMS/xchat-1.8.9-1.1mdk.i586.rpm
 8e90f10583d899d8fcec3add917cff9e  8.1/SRPMS/xchat-1.8.9-1.1mdk.src.rpm

 Mandrake Linux 8.1/ia64:
 3b153d74852081b8c2716795da8221fb  ia64/8.1/RPMS/xchat-1.8.9-1.1mdk.ia64.rpm
 8e90f10583d899d8fcec3add917cff9e  ia64/8.1/SRPMS/xchat-1.8.9-1.1mdk.src.rpm

 Mandrake Linux 8.2:
 07acd74eb2ba9e6e993c080f3f62d1db  8.2/RPMS/xchat-1.8.9-1.1mdk.i586.rpm
 8e90f10583d899d8fcec3add917cff9e  8.2/SRPMS/xchat-1.8.9-1.1mdk.src.rpm

 Mandrake Linux 8.2/ppc:
 949876f355b3f0330e9d0a15a8da9c22  ppc/8.2/RPMS/xchat-1.8.9-1.1mdk.ppc.rpm
 8e90f10583d899d8fcec3add917cff9e  ppc/8.2/SRPMS/xchat-1.8.9-1.1mdk.src.rpm

 Corporate Server 1.0.1:
 d6d49335adada894c1aa3fa939d8b9f3  1.0.1/RPMS/xchat-1.8.9-1.2mdk.i586.rpm
 6d05bf91dcf5e713c80733c0266707c7  1.0.1/SRPMS/xchat-1.8.9-1.2mdk.src.rpm
________________________________________________________________________

Bug IDs fixed (see https://qa.mandrakesoft.com for more information):

________________________________________________________________________

To upgrade automatically, use MandrakeUpdate.  The verification of md5
checksums and GPG signatures is performed automatically for you.

If you want to upgrade manually, download the updated package from one 
of our FTP server mirrors and upgrade with "rpm -Fvh *.rpm".  A list of
FTP mirrors can be obtained from:

   http://www.mandrakesecure.net/en/ftp.php

Please verify the update prior to upgrading to ensure the integrity of
the downloaded package.  You can do this with the command:

  rpm --checksig 

All packages are signed by MandrakeSoft for security.  You can obtain
the GPG public key of the Mandrake Linux Security Team from:

  https://www.mandrakesecure.net/RPM-GPG-KEYS

Please be aware that sometimes it takes the mirrors a few hours to 
update.

You can view other update advisories for Mandrake Linux at:

   http://www.mandrakesecure.net/en/advisories/

MandrakeSoft has several security-related mailing list services that
anyone can subscribe to.  Information on these lists can be obtained by
visiting:

   http://www.mandrakesecure.net/en/mlist.php

If you want to report vulnerabilities, please contact

  security@linux-mandrake.com
________________________________________________________________________

Type Bits/KeyID     Date       User ID
pub  1024D/22458A98 2000-07-10 Linux Mandrake Security Team
  <security@linux-mandrake.com>