misc/118554: Samba "send_mailslot()" Buffer Overflow Vulnerability (remote code execution)

Denis Eremenko moonshade at pnhz.kz
Tue Dec 11 08:30:01 PST 2007


>Number:         118554
>Category:       misc
>Synopsis:       Samba "send_mailslot()" Buffer Overflow Vulnerability (remote code execution)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 11 16:30:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Denis Eremenko
>Release:        6-STABLE
>Organization:
>Environment:
>Description:
http://secunia.com/advisories/27760/

"The vulnerability is caused due to a boundary error within the "send_mailslot()" function. This can be exploited to cause a stack-based buffer overflow with zero bytes via a specially crafted "SAMLOGON" domain logon packet containing a username string placed at an odd offset followed by an overly long GETDC string.

Successful exploitation allows execution of arbitrary code, but requires that the "domain logons" option is enabled.

The vulnerability is confirmed in version 3.0.27a. Prior versions may also be affected."

>How-To-Repeat:

>Fix:
Update to version 3.0.28 or apply patch.

Patch for Samba 3.0.27a:
http://us3.samba.org/samba/ftp/patche...ity/samba-3.0.27a-CVE-2007-6015.patch


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list