XMail AddressFromAtPtr function buffer overflow

xmail-addressfromatptr-bo (22724) The risk level is classified as HighHigh Risk

Description:

XMail is vulnerable to a stack-based buffer overflow caused by improper bounds checking in the AddressFromAtPtr function. By sending specially-crafted email addresses containing a long -t command line option, a local attacker could overflow a buffer and execute arbitrary code on the system with elevated privileges. It may be possible for a local attacker to use this vulnerability to view all encrypted mail that is stored locally within the system mail folders.


Consequences:

Gain Access

Remedy:

Upgrade to the latest version of XMail (1.22 or later), available from the XMail Home Web page. See References.

As a workaround, restrict local mail delivery while using a standard mail user-agent to communicate to the XMail SMTP server. See References.

For Debian GNU/Linux:
Refer to DSA-902-1 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2005-12-05 for patch, upgrade, or suggested workaround information. See References.

References:

Platforms Affected:

  • Davide Libenzi XMail Mail Server 1.21
  • Debian Debian Linux 3.1
  • Gentoo Linux

Reported:

Oct 13, 2005

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page