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
AttachmentsThis solution has no attachment