Security Vulnerability in the "printd" Daemon



Category :Security
Release Phase :Resolved
Product :Solaris 9 Operating System
Solaris 10 Operating System
Solaris 7 Operating System
Solaris 8 Operating System  
Bug Id :6289134  
Date of Resolved Release :08-AUG-2005 


Impact

A local or remote unprivileged user may be able to remove any file on the system due to a security vulnerability in the "printd" daemon.

Sun acknowledges, with thanks, H.D. Moore of Metaspoilt.com, for bringing this issue to our attention.


Contributing Factors

This issue can occur in the following releases:

SPARC Platform

x86 Platform

This issue only occurs on systems that have the printer package "SUNWpcu" installed. 


Symptoms

There are no reliable symptoms that would indicate the described issue has been exploited.


Workaround

To work around the described issue, one of the following options can be applied:

Option 1:

Temporarily rename the following file used by the "printd" daemon:

    /usr/lib/print/bsd-adaptor/bsd_cascade.so.1

Note: Renaming this file will cause systems configured to use the cascade spooler to fail to send print requests to the configured remote host.

Option 2:

Disable the BSD print protocol adaptor (in.lpd(1M)) by doing the following:

For pre-Solaris 10 systems:

1. Edit the "/etc/inetd.conf" file and comment out the following line by adding the "#" symbol to the beginning of the line as shown:

    #printer stream tcp6 nowait root /usr/lib/print/in.lpd in.lpd

2. Tell the inetd(1M) process to reread the newly modified "/etc/inetd.conf" file by sending it a hangup signal, SIGHUP:

    # /usr/bin/pkill -HUP inetd

For systems running Solaris 10 or above:

Execute the following command:

    # svcadm disable svc:/application/print/rfc1179

 


Resolution

This issue is addressed in the following releases:

SPARC Platform

x86 Platform






Attachments
This solution has no attachment

 
 
Login Required

You must login and have a valid contract to access Sun's Premium content which includes:

  • Sun Alerts
  • Bugs
  • Patches
  • Solutions
  • White Papers
  • Documentation
  • Support Knowledge

Login Required

You must login and have a valid contract to access Sun's contracted features

Access Legend:

(Login to access)   Sun Contracted Content
(Login to access)   Sun Contracted Feature

Please make use of SunSolve Feedback application by selecting the floating [+] to provide feedback about this specific document.

Search

Article Details
Article ID : 200978
Article Type : Sun Alert
Last reviewed : 2005-08-09
Audience : PUBLIC
Keywords :
Provide feedback  (help)
Page Tools
»  Print This Page
»  Email This Article
»  Bookmark This Article