GLSA 200512-05: Xmail: Privilege escalation through sendmail

Severity:high
Title:Xmail: Privilege escalation through sendmail
Date:12/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 Architecture(s)
mail-mta/xmail < 1.22 >= 1.22 All supported architectures

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

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 https://bugs.gentoo.org.

License

Copyright 2010 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.

Thank you!