GLSA-200712-10 : Samba: Execution of arbitrary code

high Nessus Plugin ID 29297


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200712-10 (Samba: Execution of arbitrary code)

Alin Rad Pop (Secunia Research) discovered a boundary checking error in the send_mailslot() function which could lead to a stack-based buffer overflow.
Impact :

A remote attacker could send a specially crafted 'SAMLOGON' domain logon packet, possibly leading to the execution of arbitrary code with elevated privileges. Note that this vulnerability is exploitable only when domain logon support is enabled in Samba, which is not the case in Gentoo's default configuration.
Workaround :

Disable domain logon in Samba by setting 'domain logons = no' in the 'global' section of your smb.conf and restart Samba.


All Samba users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-fs/samba-3.0.28'

See Also

Plugin Details

Severity: High

ID: 29297

File Name: gentoo_GLSA-200712-10.nasl

Version: 1.15

Type: local

Published: 12/11/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information


Risk Factor: Medium

Score: 6.7


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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:samba, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/10/2007

Reference Information

CVE: CVE-2007-6015

BID: 26791

CWE: 119

GLSA: 200712-10