Critical Nessus Plugin ID 13838
SynopsisThe remote host is missing a vendor-supplied security patch
DescriptionThe remote host is missing the patch for the advisory SUSE-SA:2004:022 (samba).
The Samba Web Administration Tool (SWAT) was found vulnerable to a buffer overflow in its base64 code. This buffer overflow can possibly be exploited remotely before any authentication took place to execute arbitrary code.
The same piece of vulnerable code was also used in ldapsam passdb and in the ntlm_auth tool.
This vulnerability only exists on Samba 3.0.2 to 3.0.4.
Another buffer overflow was found in Samba 3.0.0 and later, as well as in Samba 2.2.x. This overflow exists in the hash code of the mangling method (smb.conf: mangling method = hash), the default uses hash2 which is not vulnerable.
There is no temporary workaround known. The first proof-of-concept exploits were seen on public mailing lists.
After the installation was successfully completed please restart the samba daemon.
SWAT is called by inetd/xinetd. Therefore it is sufficient to kill all running instances of SWAT only.
Please download the update package for your distribution and verify its integrity by the methods listed in section 3) of this announcement.
Then, install the package using the command 'rpm -Fhv file.rpm' to apply the update.