AUSCERT External Security Bulletin Redistribution

                   ESB-2001.366 -- ISS Security Advisory
     Remote Buffer Overflow Vulnerability in HP-UX Line Printer Daemon
                              28 August 2001


        AusCERT Security Bulletin Summary

Product:                rlpdaemon
Vendor:                 Hewlett-Packard
Operating System:       HP-UX
Impact:                 Root Compromise
Access Required:        Remote

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


Internet Security Systems Security Advisory 
August 27, 2001 

Remote Buffer Overflow Vulnerability in HP-UX Line Printer Daemon 

Internet Security Systems (ISS) X-Force has discovered a buffer overflow
in the HP-UX line printer daemon (rlpdaemon). The rpldaemon service
contains a buffer overflow that may allow a remote or local attacker to
execute arbitrary code with superuser privilege.

Affected Versions: 

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


HP-UX is shipped with a line printer daemon adapted from BSD Unix.  
Many commercial and open-source operating systems are adapted from BSD
Unix.  The HP line printer daemon is similar to "in.lpd" in other Unix
variants. The Line Printer Daemon is used to allow heterogeneous Unix
environments to share printers over a network. 

A buffer overflow exists in rlpdaemon that may allow remote attackers to
send a specially-crafted print request to crash the service, or execute
arbitrary code with superuser privilege on the target system.  The
vulnerability is particularly serious because rlpdaemon is installed
and configured by default and is active even if it is not being used.
No local account or knowledge of the configuration on the target system
is needed to successfully exploit this vulnerability.


ISS X-Force recommends that all administrators who have not implemented
network printing should immediately disable rlpdaemon, as well as any
other unused services.  HP has made the following patches available to
address the vulnerability described in this advisory:

10.01           PHCO_24697 
10.10           PHCO_24698 
10.20           PHCO_24699 
11.00           PHCO_24700 
11.11           PHCO_24701 

To access these patches, visit the following address: 

ISS X-Force will provide detection and assessment support for these
vulnerabilities in upcoming X-Press Updates for RealSecure Network
Sensor and Internet Scanner. 

Additional Information: 

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CAN-2001-0668 to this issue. This is a candidate for inclusion in
the CVE list http://cve.mitre.org, which standardizes names for security


This vulnerability was discovered and researched by Chris Spencer of
Internet Security Systems. ISS would like to thank HP for their response
and handling of this vulnerability.


About Internet Security Systems (ISS) 
Internet Security Systems is a leading global provider of security 
management solutions for the Internet, protecting digital assets and 
ensuring safe and uninterrupted e-business. With its industry-leading 
intrusion detection and vulnerability assessment, remote managed 
security services, and strategic consulting and education offerings, ISS 
is a trusted security provider to more than 8,000 customers worldwide 
including 21 of the 25 largest U.S. commercial banks and the top 10 U.S. 
telecommunications companies. Founded in 1994, ISS is headquartered in 
Atlanta, GA, with additional offices throughout North America and 
international operations in Asia, Australia, Europe, Latin America and 
the Middle East. For more information, visit the Internet Security 
Systems web site at www.iss.net or call 888-901-7477. 

Copyright (c) 2001 Internet Security Systems, Inc. 

Permission is hereby granted for the redistribution of this Alert 
electronically. It is not to be edited in any way without express 
consent of the X-Force. If you wish to reprint the whole or any part 
of this Alert in any other medium excluding electronic medium, please 
e-mail xforce@iss.net for permission. 


The information within this paper may change without notice. Use of 
this information constitutes acceptance for use in an AS IS condition. 
There are NO warranties with regard to this information. In no event 
shall the author be liable for any damages whatsoever arising out of or 
in connection with the use or spread of this information. Any use of 
this information is at the user's own risk. 

X-Force PGP Key available at: http://xforce.iss.net/sensitive.php 
as well as on MIT's PGP key server and PGP.com's key server. 

Please send suggestions, updates, and comments to: X-Force 
xforce@iss.net of Internet Security Systems, Inc. 
Version: 2.6.3a
Charset: noconv


- --------------------------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:


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

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.

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