Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


Samba Multiple Buffer Overflow Vulnerabilities Advisory Available in Danish  Advisory Available in German 

Secunia Advisory: SA27450  
Release Date: 2007-11-15

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

Software:Samba 2.x
Samba 3.x

CVE reference:CVE-2007-5398 (Secunia mirror)
CVE-2007-4572 (Secunia mirror)

Want to know the next time vulnerabilities are fixed in this product?
- Companies can be alerted via email and SMS!


Description:
Some vulnerabilities have been reported in Samba, which can be exploited by malicious people to compromise a vulnerable system.

1) A boundary error exists within the "reply_netbios_packet()" function in nmbd/nmbd_packets.c when sending NetBIOS replies. This can be exploited to cause a stack-based buffer overflow by sending multiple specially crafted WINS "Name Registration" requests followed by a WINS "Name Query" request.

Successful exploitation allows execution of arbitrary code, but requires that Samba is configured to run as a WINS server (the "wins support" option is enabled).

2) A boundary error exists within the processing of GETDC logon requests. This can be exploited to cause a buffer overflow by sending specially crafted GETDC mailslot requests.

Successful exploitation of the vulnerability requires that Samba is configured as a Primary or Backup Domain Controller.

The vulnerabilities are reported in version 3.0.26a. Other versions may also be affected.

Solution:
Apply patches or update to version 3.0.27.

Patches for version 3.0.26a:
http://us1.samba.org/samba/ftp/patche...ity/samba-3.0.26a-CVE-2007-5398.patch
http://us1.samba.org/samba/ftp/patche...ity/samba-3.0.26a-CVE-2007-4572.patch

Provided and/or discovered by:
1) Alin Rad Pop, Secunia Research.
2) Reported by the vendor.

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

Samba:
http://us1.samba.org/samba/history/security.html



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.

17 Related Secunia Security Advisories, displaying 10

1. Samba "receive_smb_raw()" Buffer Overflow Vulnerability
2. Samba "send_mailslot()" Buffer Overflow Vulnerability
3. Samba "winbind nss info" Privilege Escalation Security Issue
4. Samba Multiple Vulnerabilities
5. Samba Denial of Service and Format String Vulnerability
6. Samba Winbind Library Buffer Overflow Vulnerabilities
7. Samba Multiple Share Connection Requests Denial of Service
8. Samba Exposure of Machine Account Credentials
9. Samba Security Descriptor Parsing Integer Overflow Vulnerability
10. Samba QFILEPATHINFO Request Handler Buffer Overflow Vulnerability

Show all related 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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
OpenBSD BIND Query Port DNS Cache Poisoning
2.
Red Hat update for kernel
3.
Drupal Session Fixation Vulnerability
4.
Debian update for clamav
5.
Linux Kernel LDT Buffer Size Handling Vulnerability
6.
IPCop update for perl
7.
Debian update for xulrunner
8.
Apple Safari Cross-Domain Cookie Injection Vulnerability
9.
Microsoft Word Unspecified Code Execution Vulnerability
10.
Red Hat update for thunderbird





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia