Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Mailing Lists RSS Blog 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.

16 Related Secunia Security Advisories, displaying 10

1. Samba "send_mailslot()" Buffer Overflow Vulnerability
2. Samba "winbind nss info" Privilege Escalation Security Issue
3. Samba Multiple Vulnerabilities
4. Samba Denial of Service and Format String Vulnerability
5. Samba Winbind Library Buffer Overflow Vulnerabilities
6. Samba Multiple Share Connection Requests Denial of Service
7. Samba Exposure of Machine Account Credentials
8. Samba Security Descriptor Parsing Integer Overflow Vulnerability
9. Samba QFILEPATHINFO Request Handler Buffer Overflow Vulnerability
10. Samba Wildcard Filename Matching Denial of Service 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.
Debian OpenSSL Predictable Random Number Generator and Update
2.
Blender Multiple Temporary File Security Issues
3.
Linux Kernel Multiple Vulnerabilities
4.
Kostenloses Linkmanagements cript Multiple Vulnerabilities
5.
GForge Insecure Temporary Files
6.
Symantec Altiris Deployment Solution Multiple Vulnerabilities
7.
Drupal Site Documentation Module Information Disclosure
8.
Model Search "cat" SQL Injection Vulnerability
9.
68 Classifieds "cat" SQL Injection Vulnerability
10.
Rantx "logininfo" Security Bypass Vulnerability





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