Joined: 12 May 2004
|Posted: Mon Dec 10, 2007 9:26 pm Post subject: [ GLSA 200712-10 ] Samba: Execution of arbitrary code
|Gentoo Linux Security Advisory
Title: Samba: Execution of arbitrary code (GLSA 200712-10)
Date: December 10, 2007
Samba contains a buffer overflow vulnerability potentially resulting in the execution of arbitrary code.
Samba is a suite of SMB and CIFS client/server programs for UNIX.
Vulnerable: < 3.0.28
Unaffected: >= 3.0.28
Architectures: All supported architectures
Alin Rad Pop (Secunia Research) discovered a boundary checking error in the send_mailslot() function which could lead to a stack-based buffer overflow.
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.
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"