Secunia Logo  
 
Samba "receive_smb_raw()" Buffer Overflow Vulnerability
Secunia Advisory: SA30228
Release Date: 2008-05-28
Last Update: 2008-05-29
Popularity: 9,833 views

Critical:
Highly critical
Impact: System access
Where: From remote
Solution Status: Vendor Patch

Software:Samba 2.x
Samba 3.x

Binary Analysis: BA473 :: Available for 1 Credit

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-1105


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 "receive_smb_raw()" function in lib/util_sock.c when parsing SMB packets. This can be exploited to cause a heap-based buffer overflow via an overly large SMB packet received in a client context.

Successful exploitation allows execution of arbitrary code by tricking a user into connecting to a malicious server (e.g. by clicking an "smb://" link) or by sending specially crafted packets to an "nmbd" server configured as a local or domain master browser.

The vulnerability is confirmed in versions 3.0.28a and 3.0.29. Prior versions may also be affected.

Solution:
Update to version 3.0.30 or apply patch.
http://us5.samba.org/samba/ftp/patches/security/samba-3.0.29-CVE-2008-1105.patch

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

Changelog:
2008-05-29: Updated "Solution" and "Original Advisory" sections.

Original Advisory:
Secunia Research:
http://secunia.com/secunia_research/2008-20/

Samba:
http://www.samba.org/samba/security/CVE-2008-1105.html


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

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. MxBB Portal Mx At A Glance Module "mx_root_path" File Inclusion // 39 views
2. NPDS Multiple Vulnerabilities // 28 views
3. Samba Root File System Access Security Issue // 27 views
4. phpBB Avatar Script Insertion Vulnerability // 27 views
5. Links SSL Verification Security Issue // 26 views
6. phpBB reveals user IPs // 26 views
7. phpBB BBcode "url" Script Insertion Vulnerability // 24 views
8. phpBB "url" bbcode Script Insertion Vulnerability // 23 views
9. Autoreminder "id" SQL Injection Vulnerability // 21 views
10. PostNuke PNphpBB2 Module Multiple File Inclusion Vulnerabilities // 20 views