search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Samba "send_mailslot()" function buffer overflow

Vulnerability Note VU#438395

Original Release Date: 2008-02-20 | Last Revised: 2008-02-25

Overview

The Samba "send_mailslot()" function contains a stack-based buffer overflow vulnerability which could be exploited by a remote, unauthenticated attacker to execute arbitrary code.

Description

Samba is a widely used open-source implementation of Server Message Block (SMB)/Common Internet File System (CIFS). A stack-based buffer overflow exists in the send_mailslot() function due to the function's improper processing of SAMLOGON packets. By sending a SAMLOGON domain logon packet containing a username string placed at an odd offset followed by an overly long GETDC string, an attacker could then overflow the stack to exploit the vulnerability.

Impact

By sending a specially crafted SAMLOGON domain logon packet, a remote, unauthenticated attacker can exploit the vulnerability to execute arbitrary code.

Solution

This vulnerability is addressed in Samba version 3.0.28. Patches are also available to address this vulnerability in Samba version 3.0.27a. Samba is included in various Linux and UNIX distributions. Please consult the relevant documentation of your distribution to obtain the appropriate updates.

The vulnerability requires that the "domain logons" be enabled. Therefore, an effective workaround to this vulnerability would be to disable the "domain logons" option.

Vendor Information

438395
 
Affected   Unknown   Unaffected

Samba

Updated:  February 14, 2008

Status

  Vulnerable

Vendor Statement

No statement is currently available from the vendor regarding this vulnerability.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

This vulnerability is addressed in Samba version 3.0.28. Patches are also available to address this vulnerability in Samba version 3.0.27a.

If you have feedback, comments, or additional information about this vulnerability, please send us email.


CVSS Metrics

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A

References

Acknowledgements

This vulnerability was discovered by Alin Rad Pop of Secunia Research

This document was written by Joseph Pruszynski.

Other Information

CVE IDs: CVE-2007-6015
Severity Metric: 13.61
Date Public: 2007-12-10
Date First Published: 2008-02-20
Date Last Updated: 2008-02-25 18:36 UTC
Document Revision: 12

Sponsored by the Department of Homeland Security Office of Cybersecurity and Communications.