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.13

Type: local

Published: 2007/12/11

Updated: 2018/07/11

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

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: 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: 2007/12/10

Reference Information

CVE: CVE-2007-6015

BID: 26791

GLSA: 200712-10

CWE: 119