[UNIX] Samba "send_mailslot()" Buffer Overflow Vulnerability

The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.

- - - - - - - - -

Samba "send_mailslot()" Buffer Overflow Vulnerability


<http://www.samba.org/> Samba is "an Open Source/Free Software suite that
has, since 1992, provided file and print services to all manner of
SMB/CIFS clients, including the numerous versions of Microsoft Windows
operating systems. Samba is freely available under the GNU General Public
License". Secunia Research has discovered a vulnerability in Samba, which
can be exploited by malicious people to compromise a vulnerable system.


Vulnerable Systems:
* Samba version 3.0.27a

The vulnerability is caused due to a boundary error within the
"send_mailslot()" function. This can be exploited to cause a stack-based
buffer overflow with zero bytes via a specially crafted "SAMLOGON" domain
logon packet containing a username string placed at an odd offset followed
by an overly long GETDC string.

Successful exploitation allows execution of arbitrary code, but requires
that the "domain logons" option is enabled.

Time Table:
22/11/2007 - Vendor notified.
22/11/2007 - vendor-sec notified.
23/11/2007 - Vendor response.
10/12/2007 - Public disclosure.

CVE Information:


The information has been provided by Secunia Research.
The original article can be found at:


This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx


The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.