TITLE: XMail Command Line Buffer Overflow Vulnerability SECUNIA ADVISORY ID: SA17194 VERIFY ADVISORY: http://secunia.com/advisories/17194/ CRITICAL: Less critical IMPACT: Privilege escalation WHERE: Local system SOFTWARE: XMail 1.x http://secunia.com/product/3685/ DESCRIPTION: A vulnerability has been reported in XMail, which can be exploited by malicious, local users to gain escalated privileges. The vulnerability is caused due to a boundary error in the "AddressFromAtPtr()" function when copying the hostname portion of an e-mail address to a 256-byte buffer. This can be exploited to cause a stack-based buffer overflow via a specially crafted email address passed to the "-t" command line option. Successful exploitation allows arbitrary code execution with escalated privileges. The RPM binary distribution of XMail reportedly installs the binary with setuid root privileges. Other distribution installs the binary setgid mail. The vulnerability has been reported in version 1.21. SOLUTION: Update to version 1.22. http://www.xmailserver.org/ PROVIDED AND/OR DISCOVERED BY: Discovered by anonymous person and reported via iDEFENSE. ORIGINAL ADVISORY: iDEFENSE: http://www.idefense.com/application/poi/display?id=321&type=vulnerabilities ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------