[Samba] [SECURITY] CVE-2007-4572 - GETDC mailslot processing buffer overrun in nmbd

Gerald (Jerry) Carter jerry at samba.org
Thu Nov 15 13:19:04 GMT 2007

Hash: SHA1

== Subject:     Stack buffer overflow in nmbd's logon
==              request processing.
== CVE ID#:     CVE-2007-4572
== Versions:    Samba 3.0.0 - 3.0.26a (inclusive)
== Summary:     Processing of specially crafted GETDC
==              mailslot requests can result in a buffer
==              overrun in nmbd.  It is not believed that
==              that this issues can be exploited to
==              result in remote code execution.


Samba developers have discovered what is believed to be
a non-exploitable buffer over in nmbd during the processing
of GETDC logon server requests.  This code is only used
when the Samba server is configured as a Primary or Backup
Domain Controller.

Patch Availability

A patch addressing this defect has been posted to


Additionally, Samba 3.0.27 has been issued as a security
release to correct the defect.


Samba administrators may avoid this security issue by disabling
both the "domain logons" and the "domain master" options in in
the server's smb.conf file.  Note that this will disable all
domain controller features as well.


This vulnerability was discovered by Samba developers during
an internal code audit.

The time line is as follows:

* Sep 13, 2007: Initial report to security at samba.org including
  proposed patch.
* Sep 14, 2007: Patch review by members of the Josh Bressers
  (RedHat Security Team) and Simo Sorce (Samba/RedHat developer)
* Nov 15, 2007: Public security advisory made available.

== Our Code, Our Bugs, Our Responsibility.
== The Samba Team

Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the samba mailing list