Samba Buffer Overflow in nmbd send_mailslot() Lets Remote Users Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1019065
|
|
SecurityTracker URL: http://securitytracker.com/id?1019065
|
|
CVE Reference: CVE-2007-6015
(Links to External Site)
|
Date: Dec 10 2007
|
Impact: Execution of arbitrary code via network, User access via network
|
Fix Available: Yes
Vendor Confirmed: Yes
|
Advisory: Secunia Research
|
Version(s): 3.0.0 - 3.0.27a
|
Description: A vulnerability was reported in Samba. A remote user can execute arbitrary code on the target system.
A remote user can send specially crafted GETDC mailslot requests to trigger a buffer overflow in nmbd and execute arbitrary code
on the target system. The code will run with the privileges of the target service.
The vulnerability resides in the send_mailslot()
function.
The system is affected if the "domain logons" parameter is enabled in the 'smb.conf' configuration file.
The vendor
was notified on November 22, 2007.
Alin Rad Pop of Secunia Research reported this vulnerability.
|
Impact: A remote user can execute arbitrary code on the target system.
|
Solution: The vendor has issued a fixed version (3.0.28).
The Samba advisory is available at:
http://us1.samba.org/samba/security/CVE-2007-6015.html
|
Vendor URL: us1.samba.org/samba/security/CVE-2007-6015.html (Links to External Site)
|
Cause: Boundary error
|
Underlying OS: Linux (Any), UNIX (Any)
|
|
Message History:
This archive entry has one or more follow-up message(s) listed below.
|
Source Message Contents
|
Date: Mon, 10 Dec 2007 13:24:27 -0500
Subject: Samba
|
http://us1.samba.org/samba/security/CVE-2007-6015.html
CVE-2007-6015 - Remote Code Execution in Samba's nmbd (send_mailslot())
==========================================================
==
== Subject: Boundary failure in GETDC mailslot
== processing can result in a buffer overrun
==
== CVE ID#: CVE-2007-6015
==
== Versions: Samba 3.0.0 - 3.0.27a (inclusive)
==
== Summary: Specifically crafted GETDC mailslot requests
== can trigger a boundary error in the domain
== controller GETDC mail slot support which
== can be remotely exploited to execute arbitrary
== code.
==
==========================================================
===========
Description
===========
Secunia Research reported a vulnerability that allows for
the execution of arbitrary code in nmbd. This defect is
only be exploited when the "domain logons" parameter has
been enabled in smb.conf.
==================
Patch Availability
==================
A patch addressing this defect has been posted to
http://www.samba.org/samba/security/
Additionally, Samba 3.0.28 has been issued as a security
release to correct the defect.
==========
Workaround
==========
Samba administrators may avoid this security issue by disabling
both the "domain logons" options in the server's smb.conf file.
Note that this will disable all domain controller features as
well.
=======
Credits
=======
This vulnerability was reported to Samba developers by
Alin Rad Pop, Secunia Research.
The time line is as follows:
* Nov 22, 2007: Initial report to security@samba.org.
* Nov 22, 2007: First response from Samba developers confirming
the bug along with a proposed patch.
* Dec 10, 2007: Public security advisory made available.
==========================================================
== Our Code, Our Bugs, Our Responsibility.
== The Samba Team
==========================================================
|
|