Red Hat Linux Errata Advisory

back
 

Synopsis remote exploit possible in lpd

Advisory ID RHSA-2001:147-09

Issue Date 2001-11-01

Updated On 2001-11-08

Product Red Hat Linux

Keywords lpr lpd buffer overflow

Cross References

Obsoletes

Visit the new Red Hat Network
 


1. Topic:

The lpd printing daemon provided by the lpr package posses a remotely
exploitable hole.

2. Problem description:

The lpd printing daemon possess a flaw in the displayq code which makes a
remote buffer overflow attack possible.

[UPDATE November 7th, 2001]
The initial package released as a fix for this problem itself had a
segfault issue, and would crash when listing remote printers. The broken
package, lpr-0.50.1-1, has been replaced with a working fix.

3. Bug IDs fixed: (see bugzilla for more information)

4. Relevant releases/architectures:

Red Hat Linux 6.2 - alpha, i386, sparc

5. RPMs required:

Red Hat Linux 6.2:

SRPMS:
ftp://updates.redhat.com/6.2/en/os/SRPMS/lpr-0.50.5-1.src.rpm

alpha:
ftp://updates.redhat.com/6.2/en/os/alpha/lpr-0.50.5-1.alpha.rpm

i386:
ftp://updates.redhat.com/6.2/en/os/i386/lpr-0.50.5-1.i386.rpm

sparc:
ftp://updates.redhat.com/6.2/en/os/sparc/lpr-0.50.5-1.sparc.rpm

6. 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.

7. Verification:

MD5 sum                           Package Name
-------------------------------------------------------------------------
084ffb7aad218ce6bba390de33218ad8 6.2/en/os/SRPMS/lpr-0.50.5-1.src.rpm
19111f0738ddeac4f9ed29c59b3c3656 6.2/en/os/alpha/lpr-0.50.5-1.alpha.rpm
c1f8f77d761223d42ee90367a716aa8e 6.2/en/os/i386/lpr-0.50.5-1.i386.rpm
be898ec1250c4a3f5d06da6e12c62176 6.2/en/os/sparc/lpr-0.50.5-1.sparc.rpm

These packages are GPG signed by Red Hat, Inc. for security. Our key is available at:
http://www.redhat.com/about/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 --nogpg filename

Note that you need RPM >= 3.0 to check GnuPG keys.

8. References:

Copyright © 2000-2002 Red Hat, Inc.


 
Copyright © 2000-2002 Red Hat, Inc. All rights reserved.      Legal statement : Privacy statement : Your Account : Contact Red Hat

 

  
Search by Google