GLSA 200712-10: Samba: Execution of arbitrary code

Severity:high
Title:Samba: Execution of arbitrary code
Date:12/10/2007
Bugs: #200773
ID:200712-10

Synopsis

Samba contains a buffer overflow vulnerability potentially resulting in the execution of arbitrary code.

Background

Samba is a suite of SMB and CIFS client/server programs for UNIX.

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-fs/samba < 3.0.28 >= 3.0.28 All supported architectures

Description

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.

Resolution

All Samba users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-fs/samba-3.0.28"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200712-10.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!