Synopsis
The remote host is missing a vendor-supplied security patch
Description
The 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.
/usr/sbin/rcsmb restart
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.
Solution
http://www.suse.de/security/2004_22_samba.html
Plugin Details
File Name: suse_SA_2004_022.nasl
Agent: unix
Supported Sensors: Nessus Agent, Nessus
Risk Information
Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C
Vulnerability Information
Required KB Items: Host/SuSE/rpm-list
Exploit Ease: No known exploits are available