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

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

                 ESB-2001.497 -- CERT Advisory CA-2001-32
               Buffer Overflow in HP-UX Line Printer Daemon
                             22 November 2001

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

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

Product:                rlpdaemon
Vendor:                 Hewlett-Packard
Operating System:       HP-UX 10.01
                        HP-UX 10.10
                        HP-UX 10.20
                        HP-UX 11.00
                        HP-UX 11.11
Platform:               HP9000
Impact:                 Root Compromise
Access Required:        Remote

Ref:                    ESB-2001.492
                        ESB-2001.496

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

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

CERT Advisory CA-2001-32 Buffer Overflow in HP-UX Line Printer Daemon

   Original release date: November 21, 2001
   Last revised: --
   Source: CERT/CC

   A complete revision history can be found at the end of this file.

Systems Affected

   HP9000 Servers running the following releases:

     * HP-UX Version 10.01
     * HP-UX Version 10.10
     * HP-UX Version 10.20
     * HP-UX Version 11.00
     * HP-UX Version 11.11

Overview

   The HP-UX line printer daemon (rlpdaemon) enables various clients
   to share printers over a network. A remotely exploitable buffer
   overflow vulnerability exists in the rlpdaemon.

I. Description

   By sending a specially crafted print request to an HP-UX host
   running the rlpdaemon, a local or remote attacker can trigger the
   buffer overflow. Intruders may find this vulnerability attractive
   to exploit because the line printer daemon is enabled by default to
   provide printing services. Additionally, no previous knowledge of
   or access to the vulnerable system is required for exploitation.

   Internet Security Systems (ISS) and Hewlett-Packard Company have
   issued the following announcements, respectively:

    Remote Logic Flaw Vulnerability in HP-UX Line Printer Daemon

    Hewlett-Packard Company Security Bulletin #0176

   This vulnerability has been assigned the identifier CAN-2001-0817
   by the Common Vulnerabilities and Exposures (CVE) group:

    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2001-0817

   For the latest and most detailed information about this
   vulnerability, please see VU#638011.

II. Impact

   An attacker can execute arbitrary code on the target system with
   the privileges of the line printer daemon, typically superuser.

III. Solution

   Install a patch from HP. More information is available in Appendix
   A.

Restrict access to the lpd service

   As a general practice, we recommend disabling all services that are
   not explicitly required. You may wish to disable the line printer
   daemon until a patch can be applied.  If you cannot disable the
   service, you can limit your exposure to these vulnerabilities by
   using a router or firewall to restrict access to port 515/TCP
   (printer). Note that this does not protect you against attackers
   from within your network.

Appendix A. - Vendor Information

   This appendix contains information provided by vendors for this
   advisory. When vendors report new information to the CERT/CC, we
   update this section and note the changes in our revision
   history. If a particular vendor is not listed below, we have not
   received their comments.

Hewlett-Packard Company

   Please see Hewlett-Packard Company Security Bulletin #0176.

Appendix B. - References

    1. http://www.kb.cert.org/vuls/id/638011
    2. http://xforce.iss.net/alerts/advise102.php
    3. http://www.kb.cert.org/vuls/id/IAFY-54PKL4
     _________________________________________________________________
     _________________________________________________________________

   This vulnerability was discovered and researched by Mark Dowd and
   Kris Hunt of Internet Security Systems (ISS). The CERT/CC thanks
   ISS for the information contained in their advisory.
   _________________________________________________________________

   Author: Ian A. Finlay.
   ______________________________________________________________________

   This document is available from:
   http://www.cert.org/advisories/CA-2001-32.html
   ______________________________________________________________________

CERT/CC Contact Information

   Email: cert@cert.org
          Phone: +1 412-268-7090 (24-hour hotline)
          Fax: +1 412-268-6989
          Postal address:
          CERT Coordination Center
          Software Engineering Institute
          Carnegie Mellon University
          Pittsburgh PA 15213-3890
          U.S.A.

   CERT/CC personnel answer the hotline 08:00-17:00 EST(GMT-5) /
   EDT(GMT-4) Monday through Friday; they are on call for emergencies
   during other hours, on U.S. holidays, and on weekends.

Using encryption

   We strongly urge you to encrypt sensitive information sent by
   email. Our public PGP key is available from

   http://www.cert.org/CERT_PGP.key

   If you prefer to use DES, please call the CERT hotline for more
   information.

Getting security information

   CERT publications and other security information are available from
   our web site:

   http://www.cert.org/

   To subscribe to the CERT mailing list for advisories and bulletins,
   send email to majordomo@cert.org. Please include in the body of
   your message:

   subscribe cert-advisory

   * "CERT" and "CERT Coordination Center" are registered in the U.S.
   Patent and Trademark Office.
   ______________________________________________________________________

   NO WARRANTY

   Any material furnished by Carnegie Mellon University and the
   Software Engineering Institute is furnished on an "as is"
   basis. Carnegie Mellon University makes no warranties of any kind,
   either expressed or implied as to any matter including, but not
   limited to, warranty of fitness for a particular purpose or
   merchantability, exclusivity or results obtained from use of the
   material. Carnegie Mellon University does not make any warranty of
   any kind with respect to freedom from patent, trademark, or
   copyright infringement.
   _________________________________________________________________

   Conditions for use, disclaimers, and sponsorship information

   Copyright 2001 Carnegie Mellon University.

   Revision History

November 21, 2001:  initial release

- -----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQCVAwUBO/v/ZaCVPMXQI2HJAQET4gP/e7X3trRSEzNeXBlE8TkMX0phGOCDe2xQ
ksuW+n6Idr+056a1ZqYbA9q8FG8qIRYCR51Hfl5OsX3NeztdjfMLylW+Xkf5sqn7
w0zmSzj2zXXEHyKz9Zzbfj544E86L2i+yJVjGrtrKyqYaWvJH5bXLWAzFFm3Qpme
698IC1jYn/k=
=k4Qj
- -----END PGP SIGNATURE-----

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

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

iQCVAwUBO/0Uoih9+71yA2DNAQEjXAP+MGwjqOz3MTLl2iK33LP7FywQ/3o3J1xd
d7q6I/imq6iVBI0UhVHohtdWLw2hw3rN6TXoCpFwL6lF0xHQXshIqi6hVci/CYgZ
diDLAfFa8G3DIZwbTsrEErjHQFq6pjFjxXZoqO6Hm0FwQE5hNdmbWPgtkV05FL1H
SOP/VGzApvk=
=Xihc
-----END PGP SIGNATURE-----