Secunia Logo
Netsikker nu! 2008
 
Samba "send_mailslot()" Buffer Overflow Vulnerability
Secunia Advisory: SA27760
Release Date: 2007-12-10
Last Update: 2008-02-21
Popularity: 8,350 views

Critical:
Moderately critical
Impact: System access
Where: From local network
Solution Status: Vendor Patch

Software:Samba 2.x
Samba 3.x

Binary Analysis: BA308 :: Available for 1 Credit

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-6015


Description:
Secunia Research has discovered a vulnerability in Samba, which can be exploited by malicious people to compromise a vulnerable system.

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.

Solution:
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

Provided and/or discovered by:
Alin Rad Pop, Secunia Research.

Changelog:
2007-12-10: Updated "Solution" section.
2008-02-21: Added link to US-CERT.

Original Advisory:
Secunia Research:
http://secunia.com/secunia_research/2007-99/

Samba:
http://us3.samba.org/samba/security/CVE-2007-6015.html

Other References:
US-CERT VU#438395:
http://www.kb.cert.org/vuls/id/438395

Extended Solution:
The "Extended Solution" section is available for Secunia customers only. Request a trial and get access to the Secunia Customer Area and Extended Secunia advisories.


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Today
New advisories: 9
New vulnerabilities: 29
Updated advisories: 10

Highly // 141 views
SUSE update for MozillaFirefox
Moderately // 152 views
Debian update for lighttpd

6th Oct, 2008
New advisories: 19
New vulnerabilities: 52
Updated advisories: 26


Solutions | More...  


Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 129 views
2. SUSE update for MozillaFirefox // 93 views
3. IBM Lotus Quickr Security Issues and Denial of Service // 69 views
4. noName CMS "index.php" SQL Injection Vulnerabilities // 64 views
5. HP-UX NFS/ONCplus Denial of Service Vulnerability // 61 views
6. D-Bus "_dbus_validate_signature_with_reason()" Denial of Service // 55 views
7. iseemedia LPViewer ActiveX Control Multiple Buffer Overflow Vulnerabilities // 53 views
8. Debian update for lighttpd // 49 views
9. Kwalbum "UploaditemsPage.php" File Upload Vulnerability // 46 views
10. Microsoft Windows Vista Page Fault Handling Denial of Service // 44 views