Note: This is an archival copy of Security Sun Alert 200564 as previously published on http://sunsolve.sun.com.|
Latest version of this security advisory is available from http://support.oracle.com as Sun Alert 1000430.1.
Solaris 9 Operating System
Date of Resolved Release
When a Solaris 9 system is running as a Samba server, an uprivileged remote user may be able to execute arbitrary code or commands with superuser privileges. This user could request a password change that would allow root access on the target machine, then send an encrypted password, which, when decrypted with the old hashed password, could be used as a buffer overrun attack on the stack of smbd. This would cause the Samba server daemon smbd (Server Message Block protocol for UNIX systems) to crash.
This issue is described in CERT Vulnerability Notes VU#958321 at:
This issue can occur in the following releases:
To determine if a system is configured as a Samba server, the following command can be run:
% ls -l /etc/sfw/smb.conf
To determine the version of Samba installed, the following command can be run:
% /usr/sfw/sbin/smbd -V
To see the smb.conf configuration file, the following command can be run:
Note: Solaris 2.6, 7, and 8 do not include the Samba software and are not affected by this issue. Sun does include Samba on the Solaris Companion CD for Solaris 8 as an unsupported package which installs to /opt/sfw and is vulnerable to this issue. Sites using the freeware version of Samba from the Solaris Companion CD will have to upgrade to a later version from Samba.org.
There are no predictable symptoms that would show the described issue has been exploited to gain root privileges.
Workaround information can be found in the "Protecting an Unpatched Samba Server" section from the Samba Team announcement for version 2.2.8 at:
This issue is addressed in the following releases:
This solution has no attachment