Samba < 3.0.28 send_mailslot Function Remote Buffer Overflow

High Nessus Plugin ID 29253


The remote Samba server may be affected by a buffer overflow vulnerability.


According to its banner, the version of the Samba server on the remote host is reportedly affected by a boundary error in 'nmbd' within the 'send_mailslot' function. Provided the 'domain logons' option is enabled in 'smb.conf', an attacker can leverage this issue to produce a stack-based buffer overflow using a 'SAMLOGON' domain logon packet in which the username string is placed at an odd offset and is followed by a long 'GETDC' string.

Note that Nessus has not actually tried to exploit this issue nor verify whether the 'domain logons' option has been enabled on the remote host.


Upgrade to Samba version 3.0.28 or later.

See Also

Plugin Details

Severity: High

ID: 29253

File Name: samba_3_0_28.nasl

Version: $Revision: 1.14 $

Type: remote

Family: Misc.

Published: 2007/12/10

Modified: 2014/05/26

Dependencies: 10785

Risk Information

Risk Factor: High


Base Score: 9.3

Temporal Score: 7.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:samba:samba

Required KB Items: Settings/ParanoidReport, SMB/NativeLanManager

Exploit Available: true

Exploit Ease: Exploits are available

Reference Information

CVE: CVE-2007-6015

BID: 26791

OSVDB: 39191

CWE: 119