Samba is an open-source Unix server application used to implement Windows file sharing and domain controlling functionality. For more information, please visit: http://www.samba.org
Remote exploitation of a buffer overflow vulnerability within Samba Project's Samba could allow an attacker to execute arbitrary code with root privileges.
This vulnerability exists in a certain function within Samba, where an attacker could trigger a memory corruption by sending specially crafted SMB requests resulting in heap memory overwritten with attacker supplied data, which can allow attackers to execute code remotely.
Exploitation allows attackers to execute arbitrary code on the targeted host with root privileges. To exploit this vulnerability, an attacker would need to send a malicious SMB packet to a vulnerable Samba server. It should be noted that this vulnerability works on samba default configuration, no authentication is needed and no user action is required. Unsuccessful exploitation attempts may cause the process serving the request to crash and may leave evidence of an attack in logs.
iDefense has confirmed the existence of this vulnerability in Samba version 3.3.12. Previous versions are suspected to be affected.Samba 3.4.0 and newer versions rewrite the whole logic of the vulnerable function and thus are not affected by this vulnerability.
iDefense is currently unaware of any workaround for this issue. Firewalls should be utilized to prevent unauthorized connections to samba ports.
Samba has released patches to address this issue. Information about downloadable vendor updates can be found by clicking on the URL shown. http://www.samba.org/samba/security/
The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2010-2063 to this issue. This is a candidate for inclusion in the CVE list (http://cve.mitre.org/), which standardizes names for security problems.
06/04/2010 Initial Vendor Notification
06/04/2010 Initial Vendor Reply
06/16/2010 Coordinated Public Disclosure
This vulnerability was discovered by Jun Mao, iDefense Labs.
Get paid for vulnerability research
Free tools, research and upcoming events
Copyright © 2010 Verisign, Inc.
Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail customer service for permission.
Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.