Description: Two vulnerabilities have been reported in Samba, potentially allowing malicious people to compromise a vulnerability system.
1) The vulnerability is caused due to a boundary error when decoding base64 data during HTTP basic authentication. This can potentially be exploited to cause a buffer overflow.
2) The vulnerability is caused due to a boundary error in the code used to handle "mangling method = hash". This can potentially be exploited to cause a buffer overflow.
The default setting in Samba 3 and later is "mangling method = hash2". A default installation of Samba 3 is therefore not vulnerable to issue 2.
Issue 1 affects Samba 3.0.2 to 3.0.4.
Issue 2 affects Samba 3.0.0 to 3.0.4 and Samba 2.2.9 and prior.
Solution: Both issues have been fixed in Samba version 3.0.5 and issue 2 has been fixed in Samba version 2.2.10. http://us2.samba.org/samba/ftp/
Provided and/or discovered by: Issue 1 discovered by Evgeny Demidov.
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.