SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

Vulnerability Note VU#438395

Samba "send_mailslot()" function buffer overflow

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.

I. 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.

II. Impact

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

III. 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.

Systems Affected

VendorStatusDate NotifiedDate Updated
SambaVulnerable14-Feb-2008

References


http://secunia.com/advisories/27760/
http://docs.info.apple.com/article.html?artnum=307430
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6015

Credit

This vulnerability was discovered by Alin Rad Pop of Secunia Research.

This document was written by Joseph Pruszynski.

Other Information

Date Public:2007-12-10
Date First Published:2008-02-20
Date Last Updated:2008-02-25
CERT Advisory: 
CVE-ID(s):CVE-2007-6015
NVD-ID(s):CVE-2007-6015
US-CERT Technical Alerts: 
Metric:13.61
Document Revision:12

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

 
Page Corner Image
Produced 2008 by US-CERT, a government organization
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader