{"vuid":"VU#438395","idnumber":"438395","name":"Samba \"send_mailslot()\" function buffer overflow","keywords":["Samba","buffer overflow","send_mailslot() function","apple_security_update_2008_001","SAMLOGON","GETDC string"],"overview":"The Samba \"send_mailslot()\" function contains a stack-based buffer overflow vulnerability which could be exploited by a remote, unauthenticated attacker to execute arbitrary code.","clean_desc":"Samba is a widely used open-source implementation of Server Message Block (SMB)/Common Internet File System (CIFS). A stack-based buffer overflow exists in the send_mailslot() function due to the function's improper processing of SAMLOGON packets. By sending a SAMLOGON domain logon packet containing a username string placed at an odd offset followed by an overly long GETDC string, an attacker could then overflow the stack to exploit the vulnerability.","impact":"By sending a specially crafted SAMLOGON domain logon packet, a remote, unauthenticated attacker can exploit the vulnerability to execute arbitrary code.","resolution":"This vulnerability is addressed in Samba version 3.0.28. Patches are also available to address this vulnerability in Samba version 3.0.27a. Samba is included in various Linux and UNIX distributions. Please consult the relevant documentation of your distribution to obtain the appropriate updates.","workarounds":"The vulnerability requires that the \"domain logons\" be enabled. Therefore, an effective workaround to this vulnerability would be to disable the \"domain logons\" option.","sysaffected":"","thanks":"This vulnerability was discovered by Alin Rad Pop of \nSecunia Research","author":"This document was written by Joseph Pruszynski.","public":["http://secunia.com/advisories/27760/","http://docs.info.apple.com/article.html?artnum=307430","http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6015"],"cveids":["CVE-2007-6015"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2007-12-10T19:01:29Z","publicdate":"2007-12-10T00:00:00Z","datefirstpublished":"2008-02-20T14:39:23Z","dateupdated":"2008-02-25T18:36:19Z","revision":14,"vrda_d1_directreport":"0","vrda_d1_population":"2","vrda_d1_impact":"3","cam_widelyknown":"14","cam_exploitation":"10","cam_internetinfrastructure":"4","cam_population":"9","cam_impact":"12","cam_easeofexploitation":"15","cam_attackeraccessrequired":"16","cam_scorecurrent":"13.608","cam_scorecurrentwidelyknown":"16.524","cam_scorecurrentwidelyknownexploited":"21.384","ipprotocol":"","cvss_accessvector":"","cvss_accesscomplexity":"","cvss_authentication":null,"cvss_confidentialityimpact":"","cvss_integrityimpact":"","cvss_availabilityimpact":"","cvss_exploitablity":null,"cvss_remediationlevel":"","cvss_reportconfidence":"","cvss_collateraldamagepotential":"","cvss_targetdistribution":"","cvss_securityrequirementscr":"","cvss_securityrequirementsir":"","cvss_securityrequirementsar":"","cvss_basescore":"","cvss_basevector":"","cvss_temporalscore":"","cvss_environmentalscore":"","cvss_environmentalvector":"","metric":13.608,"vulnote":null}