CERT-In Advisory
CIAD-2007-0063
Multiple Vulnerabilities in Samba
Original Issue Date: November 29, 2007
Severity Rating: Medium
Systems Affected
Overview
Multiple vulnerabilities have been reported in Samba which could be exploited by local/remote attacker to cause a denial of service or compromise the affected system.
Description
1. Buffer overflow vulnerability in Samba
(
CVE-2007-5398
)
A vulnerability has been reported in Samba due to a stack-based buffer overflow error in reply_netbios_packet " [nmbd/nmbd_packets.c] function while sending specially crafted WINS "Name Registration" requests followed by a WINS "Name Query" request. This vulnerability could be exploited by remote attackers to crash or compromise an affected application. Successful exploitation requires that Samba is configured to run as a WINS server the "wins support" option is enabled .
2. Samba 'nmbd' buffer overflow Vulnerability
(
CVE-2007-4572
)
The cause of the vulnerability is due to a buffer overflow error in "nmbd" while processing specially crafted GETDC logon server requests. This vulnerability could be exploited by attackers via a malicious GETDC mailslot request to crash an affected application or execution of arbitrary code. Successful exploitation requires that Samba is configured as a Primary or Backup Domain Controller.
Solution
Apply patches or update to version 3.0.27.
Patches for version 3.0.26a :
http://us1.samba.org/samba/ftp/patches/security/samba-3.0.26a-CVE-2007-5398.patch
http://us1.samba.org/samba/ftp/patches/security/samba-3.0.26a-CVE-2007-4572.patch
Vendor Information
Samba
http://us1.samba.org/samba/history/security.html
References
Secunia
http://secunia.com/advisories/27450/
FrSirt
http://www.frsirt.com/english/advisories/2007/3869
Securityfocus
http://www.securityfocus.com/bid/26454
CVE Name
CVE-2007-5398
CVE-2007-4572
Disclaimer
The information provided herein is on "as is" basis, without warranty of any kind.
Contact Information
Email: info@cert-in.org.in Phone: +91-11-24368572
Postal address
Indian Computer Emergency Response Team (CERT-In) Ministry of Electronics and Information Technology Government of India Electronics Niketan 6, CGO Complex, Lodhi Road, New Delhi - 110 003 India
|