Original release date: November 21, 2001<BR>
Last revised: December 6, 2001<BR>
Source: CERT/CC<BR>

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

<A NAME="affected">
<H3>Systems Affected</H3>

HP9000 Servers running the following releases:
<UL>
<LI>HP-UX Version 10.01</LI>
<LI>HP-UX Version 10.10</LI>
<LI>HP-UX Version 10.20</LI>
<LI>HP-UX Version 11.00</LI>
<LI>HP-UX Version 11.11</LI>
</UL>


<A NAME="overview">
<H2>Overview</H2>

<P>

The HP-UX line printer daemon (rlpdaemon) enables various clients to
share printers over a network. A remotely exploitable directory
traversal vulnerability exists in the rlpdaemon.
</P>

<A NAME="description">
<H2>I. Description</H2> 

<P>

By sending a specially crafted print request to an HP-UX host running
the rlpdaemon, a local or remote attacker can create arbitrary files
or directories on the target host. Given the ability to create files
on the system, an attacker may be able to leverage this vulnerability
to gain privileged access to the system. 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.

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

<DL><DD>
<A HREF="http://xforce.iss.net/alerts/advise102.php">Remote Logic Flaw Vulnerability in HP-UX Line Printer Daemon</A>
</DL>


<DL><DD>
<A HREF="http://www.kb.cert.org/vuls/id/IAFY-54PKL4">Hewlett-Packard Company Security Bulletin #0176</A>
</DL>

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

<dl>
<dd><A
HREF="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2001-0817">http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2001-0817</a>
</dd>
</dl>
</P>

For the latest and most detailed information about this vulnerability,
please see <a href="http://www.kb.cert.org/vuls/id/638011">VU#638011</a>.

<A NAME="impact">
<H2>II. Impact</H2>

<p>

An attacker may be able to gain priviledged access and execute
arbitrary code on the target system.

</p>

<A NAME="solution">
<H2>III. Solution</H2>

<p>

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

<H4>Restrict access to the lpd service</H4>

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

</p>

<A NAME="vendors">
<H2>Appendix A. - Vendor Information</H2>

<P>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.</P>

<p>
<A NAME="hp">
<H4>Hewlett-Packard Company</H4>
<p>Please see <a href="http://www.kb.cert.org/vuls/id/IAFY-54PKL4">Hewlett-Packard Company Security Bulletin #0176</a>.
<!-- end vendor -->

</p>

<A NAME="references"><H2>Appendix B. - References</H2></A>

<ol>
<li><A href="http://www.kb.cert.org/vuls/id/638011">http://www.kb.cert.org/vuls/id/638011</a>
<li><a href="http://xforce.iss.net/alerts/advise102.php">http://xforce.iss.net/alerts/advise102.php</a>
<li><a href="http://www.kb.cert.org/vuls/id/IAFY-54PKL4">http://www.kb.cert.org/vuls/id/IAFY-54PKL4</a>
</ol>
	
<HR>

<HR NOSHADE>

<p>

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.

</P>

<P></P>

<HR NOSHADE>

<P>Author: <A
HREF="mailto:cert@cert.org?subject=CA-2001-32%20Feedback%20VU%23638011">Ian
A. Finlay</A>.

<P></P>

<!--#include virtual="/include/footer_nocopyright.html" -->

<P>Copyright 2001 Carnegie Mellon University.</P>

<P>Revision History
<PRE>
November 21, 2001: initial release
December 06, 2001: changed title, updated description, updated impact
</PRE>