TippingPoint Zero Day Initiative

Ipswitch IMail Server GetIMailHostEntry Memory Corruption Vulnerability

ZDI-07-042: July 19th, 2007


Affected Vendors

Affected Products

TippingPoint™ IPS Customer Protection

TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID 5224. For further product information on the TippingPoint IPS:

Vulnerability Details

This vulnerability allows attackers to execute arbitrary code on vulnerable installations of Ipswitch IMail and ICS server. Authentication is not required to exploit this vulnerability.

The specific flaw resides in IMailsec.dll while attempting to authenticate users. The affected component is used by multiple services that listen on a default installation. The authentication mechanism copies user-supplied data into fixed length heap buffers using the lstrcpyA() function. The unbounded copy operation can cause a memory corruption resulting in an exploitable condition.

Vendor Response

Ipswitch has issued an update to correct this vulnerability. More details can be found at:

Disclosure Timeline

    2007-02-26 - Vulnerability reported to vendor
    2007-07-19 - Coordinated public release of advisory


This vulnerability was discovered by:
    Sebastian Apelt (webmaster@buzzworld.org)