- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 200512-05 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - http://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: High Title: Xmail: Privilege escalation through sendmail Date: December 14, 2005 Bugs: #109381 ID: 200512-05 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======== The sendmail program in Xmail is vulnerable to a buffer overflow, potentially resulting in local privilege escalation. Background ========== Xmail is an Internet and intranet mail server. Affected packages ================= ------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 mail-mta/xmail < 1.22 >= 1.22 Description =========== iDEFENSE reported that the AddressFromAtPtr function in the sendmail program fails to check bounds on arguments passed from other functions, and as a result an exploitable stack overflow condition occurs when specifying the "-t" command line option. Impact ====== A local attacker can make a malicious call to sendmail, potentially resulting in code execution with elevated privileges. Workaround ========== There is no known workaround at this time. Resolution ========== All Xmail users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose ">=mail-mta/xmail-1.22" References ========== [ 1 ] CVE-2005-2943 http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-2943 [ 2 ] iDEFENSE Security Advisory http://www.idefense.com/application/poi/display?id=321&type=vulnerabilities&flashstatus=true Availability ============ This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200512-05.xml Concerns? ========= Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at http://bugs.gentoo.org. License ======= Copyright 2005 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license. http://creativecommons.org/licenses/by-sa/2.0