[LWN Logo]

Date: Wed, 1 Sep 1999 22:08:24 -0400 (EDT)
From: Cristian Gafton <gafton@redhat.com>
To: Undisclosed recipients: ;
Subject: SECURITY: RHSA-1999:033 Buffer overflow problem in the inews program

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


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

Synopsis:		Buffer overflow problem in the inews program
Advisory ID:		RHSA-1999:033-01
Issue date:		1999-09-01
Keywords:		inn inews buffer overflow
- ---------------------------------------------------------------------

1. Topic:

New packages for INN are available for all Red Hat Linux platforms. This
version of the package fixes a buffer overrun problem discovered in the inews
program, which is part of the INN distribution. No active exploits of the
problem have been found so far.

2. Bug IDs fixed:

N/A.

3. Relevant releases/architectures:

Red Hat Linux 6.0, all architectures

4. Obsoleted by:

5. Conflicts with:

6. RPMs required:

Red Hat Linux 6.0:
==================

Intel:
  ftp://updates.redhat.com//6.0/i386/inn-2.2.1-1.i386.rpm
  ftp://updates.redhat.com//6.0/i386/inn-devel-2.2.1-1.i386.rpm

Alpha:
  ftp://updates.redhat.com//6.0/alpha/inn-2.2.1-1.alpha.rpm
  ftp://updates.redhat.com//6.0/alpha/inn-devel-2.2.1-1.alpha.rpm

Sparc:
  ftp://updates.redhat.com//6.0/sparc/inn-2.2.1-1.sparc.rpm
  ftp://updates.redhat.com//6.0/sparc/inn-devel-2.2.1-1.sparc.rpm

Source packages:
  ftp://updates.redhat.com//6.0/SRPMS/inn-2.2.1-1.src.rpm


Red Hat Linux 5.2:
==================

Intel:
  ftp://updates.redhat.com//5.2/i386/inn-2.2.1-0.5.2.i386.rpm
  ftp://updates.redhat.com//5.2/i386/inn-devel-2.2.1-0.5.2.i386.rpm

Alpha:
  ftp://updates.redhat.com//5.2/alpha/inn-2.2.1-0.5.2.alpha.rpm
  ftp://updates.redhat.com//5.2/alpha/inn-devel-2.2.1-0.5.2.alpha.rpm

Sparc:
  ftp://updates.redhat.com//5.2/sparc/inn-2.2.1-0.5.2.sparc.rpm
  ftp://updates.redhat.com//5.2/sparc/inn-devel-2.2.1-0.5.2.sparc.rpm

Source packages:
  ftp://updates.redhat.com//5.2/SRPMS/inn-2.2.1-0.5.2.src.rpm


Red Hat Linux 4.2:
==================

Intel:
  ftp://updates.redhat.com//4.2/i386/inn-2.2.1-0.4.2.i386.rpm
  ftp://updates.redhat.com//4.2/i386/inn-devel-2.2.1-0.4.2.i386.rpm
  ftp://updates.redhat.com//4.2/noarch/cleanfeed-0.95.7b-0.4.2.noarch.rpm

Alpha:
  ftp://updates.redhat.com//4.2/alpha/inn-2.2.1-0.4.2.alpha.rpm
  ftp://updates.redhat.com//4.2/alpha/inn-devel-2.2.1-0.4.2.alpha.rpm
  ftp://updates.redhat.com//4.2/noarch/cleanfeed-0.95.7b-0.4.2.noarch.rpm

Sparc:
  ftp://updates.redhat.com//4.2/sparc/inn-2.2.1-0.4.2.sparc.rpm
  ftp://updates.redhat.com//4.2/sparc/inn-devel-2.2.1-0.4.2.sparc.rpm
  ftp://updates.redhat.com//4.2/noarch/cleanfeed-0.95.7b-0.4.2.noarch.rpm

Source packages:
  ftp://updates.redhat.com//4.2/SRPMS/cleanfeed-0.95.7b-0.4.2.src.rpm
  ftp://updates.redhat.com//4.2/SRPMS/inn-2.2.1-0.4.2.src.rpm


7. Problem description:

INN versions 2.2 and earlier have a buffer overflow-related security
condition in the inews program.

inews is a program used to inject new postings into the news system. It is
used by many news reading programs and scripts. The default installation is
with inews setgid to the news group and world executable. It's possible that
exploiting the buffer overflow could give the attacker news group
privileges, which could possibly be extended to root access.

Note that this chain of elevation of privileges is theoretical rather than
actual; the ability of an attacker to do this indicates bugs in other
portions of INN. However, given the degree to which INN trusts the news user
and news group, it's not unlikely that such bugs exist.

No case of this being exploited has been shown yet.

If you run a news server with no local readers (i.e. all your clients are
remote) then you can remove the setgid-bit on inews.

        chmod 0550 inews

The rnews program, used to feed news via uucp, is setuid to the
uucp user.  No buffer overflow problems have been found in rnews,
but if you don't run uucp on your machine, then we recommend
disabling the setuid bit on rnews:

        chown news rnews
        chgrp news rnews
        chmod 0550 rnews

Red Hat Linux releases 4.2 and 5.2 shipped with a version of INN that is no
longer being maintained. We have back-ported the latest 2.2.1 INN version to
those older Red Hat Linux releases. The new package will not be an exact
drop in for the older packages, so it is advisable to save you config files
first before starting the migration to the new code base. Alternatively you
can implement some of the solutions described above if you do not want to
update to a new version of INN.

Also, on Red Hat Linux 4.2 inn will require a new package named cleanfeed
that is also shipped as part of this advisory.

Thanks go to the members of the BUGTRAQ mailing list for bringing this issue
to our attention.

8. Solution:

For each RPM for your particular architecture, run:
 
rpm -Uvh <filename>
 
where filename is the name of the RPM.

9. Verification:

MD5 sum                           Package Name
- --------------------------------------------------------------------------
71dfbbfaddc1596f1e6357562691e3e5  i386/inn-2.2.1-1.i386.rpm
2201608f6d72d96041998349b401061c  i386/inn-devel-2.2.1-1.i386.rpm
5dad0596a6db0beace1441484229cb35  alpha/inn-2.2.1-1.alpha.rpm
fbc0789c46f953dffdd3503551f2a293  alpha/inn-devel-2.2.1-1.alpha.rpm
b8d18a074b1e703e386a9b514e099653  sparc/inn-2.2.1-1.sparc.rpm
b539e8f684279b4e607d475d5225844d  sparc/inn-devel-2.2.1-1.sparc.rpm
7c58191dc271e462e59e97e58735e52f  SRPMS/inn-2.2.1-1.src.rpm

a954d249e706103bfea29247849232b7  i386/inn-2.2.1-0.5.2.i386.rpm
2e509990e05ff6117752f261076853d1  i386/inn-devel-2.2.1-0.5.2.i386.rpm
1148e5441e47cae968e661e01061b886  alpha/inn-2.2.1-0.5.2.alpha.rpm
8b872171e04e1caecf8d17335842e87e  alpha/inn-devel-2.2.1-0.5.2.alpha.rpm
7a751e48014dff1da12a5aa59e2ff35e  sparc/inn-2.2.1-0.5.2.sparc.rpm
0199e603c355e349d8b8f61360ab10a6  sparc/inn-devel-2.2.1-0.5.2.sparc.rpm
dc1019ada503f1051149334f914c5884  SRPMS/inn-2.2.1-0.5.2.src.rpm

9c2a193b74265cec65eb5ff9f98cafad  i386/inn-2.2.1-0.4.2.i386.rpm
0a4bfe653baecd8d7f84ea08c12aaa0c  i386/inn-devel-2.2.1-0.4.2.i386.rpm
c6d567d2e6e90d3d71c49b69ee5de44c  alpha/inn-2.2.1-0.4.2.alpha.rpm
47de4209af226594892409befcfd6c79  alpha/inn-devel-2.2.1-0.4.2.alpha.rpm
249cb97d48d3a5980bf1338a0c29a513  sparc/inn-2.2.1-0.4.2.sparc.rpm
6e744b632df7b55db4ca3a48b8ac134b  sparc/inn-devel-2.2.1-0.4.2.sparc.rpm
eb286312a58ca7d5fa62a7cdaff24993  noarch/cleanfeed-0.95.7b-0.4.2.noarch.rpm
08ff66b48fd3303b3cff540082b19256  SRPMS/cleanfeed-0.95.7b-0.4.2.src.rpm
bf58614855adb83a8814b3b35e7ebe58  SRPMS/inn-2.2.1-0.4.2.src.rpm

These packages are PGP signed by Red Hat Inc. for security.  Our key
is available at:
 
http://www.redhat.com/corp/contact.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 --nopgp <filename>

10. References:
N/A

Cristian
- --
- ----------------------------------------------------------------------
Cristian Gafton     --     gafton@redhat.com      --     Red Hat, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  "How could this be a problem in a country where we have Intel and 
   Microsoft?"  --Al Gore on Y2K

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBN83cHfGvxKXU9NkBAQFhiQQAh64X/RncbVA8SEBUQfOwWIGPiD7Tk7Oz
QLBwSaeDPa54LrwhkesQGL+b8XsFoqKV0z4Ie+wCy4RU7QvsrU/5rFigR9ZIkqng
rrIzkLx1cBAiQfx5/qafCtyt+5Sc0YAe5VJE5UU09xYRCduXEWco/3rQHo6jEgFv
VEq9OMBtb6w=
=OYSp
-----END PGP SIGNATURE-----


-- 
         To unsubscribe: mail redhat-watch-list-request@redhat.com with 
                       "unsubscribe" as the Subject.

-- 
To unsubscribe:
mail -s unsubscribe redhat-announce-list-request@redhat.com < /dev/null