-----BEGIN PGP SIGNED MESSAGE-----

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                     ESB-2002.264 -- RHSA-2002:097-08
               Updated xchat packages fix /dns vulnerability
                                6 June 2002

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                xchat
Vendor:                 Red Hat
Operating System:       Red Hat Linux 6.2
                        Red Hat Linux 7.0
                        Red Hat Linux 7.1
                        Red Hat Linux 7.2
                        Red Hat Linux 7.3
Platform:               alpha
                        i386
                        sparc
                        ia64
Impact:                 Execute Arbitrary Code/Commands
Access Required:        Remote

- --------------------------BEGIN INCLUDED TEXT--------------------

- ---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated xchat packages fix /dns vulnerability
Advisory ID:       RHSA-2002:097-08
Issue date:        2002-05-20
Updated on:        2002-06-04
Product:           Red Hat Linux
Keywords:          xchat dns vulnerability
Cross references:  
Obsoletes:         RHSA-2002:005
CVE Names:         CAN-2002-0382
- ---------------------------------------------------------------------

1. Topic:

A security issue in XChat allows a malicious server to execute arbitrary
commands.

2. Relevant releases/architectures:

Red Hat Linux 6.2 - alpha, i386, sparc

Red Hat Linux 7.0 - alpha, i386

Red Hat Linux 7.1 - alpha, i386, ia64

Red Hat Linux 7.2 - i386, ia64

Red Hat Linux 7.3 - i386

3. Problem description:

XChat is a popular cross-platform IRC client. 

Versions of XChat prior to 1.8.9 do not filter the response from an IRC
server when a /dns query is executed. Because XChat resolves hostnames by
passing the configured resolver and hostname to a shell, an IRC server may
return a maliciously formatted response that executes arbitrary commands
with the privileges of the user running XChat.

All users of XChat are advised to update to these errata packages
containing XChat version 1.8.9 which is not vulnerable to this issue.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):



6. RPMs required:

Red Hat Linux 6.2:

SRPMS:
ftp://updates.redhat.com/6.2/en/os/SRPMS/xchat-1.8.9-1.62.0.src.rpm

alpha:
ftp://updates.redhat.com/6.2/en/os/alpha/xchat-1.8.9-1.62.0.alpha.rpm

i386:
ftp://updates.redhat.com/6.2/en/os/i386/xchat-1.8.9-1.62.0.i386.rpm

sparc:
ftp://updates.redhat.com/6.2/en/os/sparc/xchat-1.8.9-1.62.0.sparc.rpm

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/xchat-1.8.9-1.70.0.src.rpm

alpha:
ftp://updates.redhat.com/7.0/en/os/alpha/xchat-1.8.9-1.70.0.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/en/os/i386/xchat-1.8.9-1.70.0.i386.rpm

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/xchat-1.8.9-1.71.0.src.rpm

alpha:
ftp://updates.redhat.com/7.1/en/os/alpha/xchat-1.8.9-1.71.0.alpha.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/xchat-1.8.9-1.71.0.i386.rpm

ia64:
ftp://updates.redhat.com/7.1/en/os/ia64/xchat-1.8.9-1.71.0.ia64.rpm

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/xchat-1.8.9-1.72.0.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/xchat-1.8.9-1.72.0.i386.rpm

ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/xchat-1.8.9-1.72.0.ia64.rpm

Red Hat Linux 7.3:

SRPMS:
ftp://updates.redhat.com/7.3/en/os/SRPMS/xchat-1.8.9-1.73.0.src.rpm

i386:
ftp://updates.redhat.com/7.3/en/os/i386/xchat-1.8.9-1.73.0.i386.rpm



7. Verification:

MD5 sum                          Package Name
- --------------------------------------------------------------------------
e9205c8b8d04eb867fb906fa3c4f3277 6.2/en/os/SRPMS/xchat-1.8.9-1.62.0.src.rpm
ed3402d01df1aff10adc5b3e8970667a 6.2/en/os/alpha/xchat-1.8.9-1.62.0.alpha.rpm
5b53b0f3a1bf0617df357e2512d5581d 6.2/en/os/i386/xchat-1.8.9-1.62.0.i386.rpm
d23b18f8f4df101cd2a18ad90b6400e3 6.2/en/os/sparc/xchat-1.8.9-1.62.0.sparc.rpm
4412093762c3c7bc83e0a76ac68aedff 7.0/en/os/SRPMS/xchat-1.8.9-1.70.0.src.rpm
e075d164b1bf297ad39424fef5698e2c 7.0/en/os/alpha/xchat-1.8.9-1.70.0.alpha.rpm
f6fc19d3f5d43ce0742e66334c6c229b 7.0/en/os/i386/xchat-1.8.9-1.70.0.i386.rpm
f461006a5e96a2cc606dc9d22844a194 7.1/en/os/SRPMS/xchat-1.8.9-1.71.0.src.rpm
535d9187ec52088cff5de38e3378cc5d 7.1/en/os/alpha/xchat-1.8.9-1.71.0.alpha.rpm
fa751c42b68ab8170684b479e249aced 7.1/en/os/i386/xchat-1.8.9-1.71.0.i386.rpm
db5b74b28cdedab821f590efca118f2c 7.1/en/os/ia64/xchat-1.8.9-1.71.0.ia64.rpm
9b9ba555093def10cdcf055c899b03af 7.2/en/os/SRPMS/xchat-1.8.9-1.72.0.src.rpm
6fabcf32b982ffb978f91b21c0f52fb8 7.2/en/os/i386/xchat-1.8.9-1.72.0.i386.rpm
eb3b95d31de4e478cd0525a2a8eeb1d6 7.2/en/os/ia64/xchat-1.8.9-1.72.0.ia64.rpm
2c166f6bd30336a83ad99041c9d3510c 7.3/en/os/SRPMS/xchat-1.8.9-1.73.0.src.rpm
bc85e6662044a386ce35b472635444fa 7.3/en/os/i386/xchat-1.8.9-1.73.0.i386.rpm
 

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
    http://www.redhat.com/about/contact/pgpkey.html

You can verify each package with the following command:
    rpm --checksig  <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    rpm --checksig --nogpg <filename>

8. References:

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



Copyright(c) 2000, 2001, 2002 Red Hat, Inc.



- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content.  The decision to use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the original authors to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

	http://www.auscert.org.au/Information/advisories.html

If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).

Internet Email: auscert@auscert.org.au
Facsimile:	(07) 3365 7031
Telephone:	(07) 3365 4417 (International: +61 7 3365 4417)
		AusCERT personnel answer during Queensland business hours
		which are GMT+10:00 (AEST).
		On call after hours for member emergencies.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key

iQCVAwUBPP97wCh9+71yA2DNAQGnsgP9GpwCcsWrvBfWftVMqj8FlwuJpyRHFOOg
zoc+FDQhrgftSOJRfdZBQTA2CylMQ7k32YT9T8xFL2/2ouQwCipGxL7xZfQ3uMsV
b2zNrkEJMvfa2gfHVyo++szaWBl8MVwI1zwf2ZcIC70J9b//hB02Zq1HZVbNWeBh
Ba6LuHVIUOA=
=Bcw7
-----END PGP SIGNATURE-----