Advisory Details

July 15th, 2010

Ipswitch Imail Server Queuemgr Format String Remote Code Execution Vulnerability

ZDI-10-128
ZDI-CAN-738

CVE ID
CVSS SCORE 10, (AV:N/AC:L/Au:N/C:C/I:C/A:C)
AFFECTED VENDORS Ipswitch
AFFECTED PRODUCTS IMail
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID 10001. For further product information on the TippingPoint IPS: http://www.tippingpoint.com
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of IPSwitch IMail. Authentication is not required to exploit this vulnerability.

The specific flaw exists within SMTPDLL.dll (called by queuemgr.exe). When handling a message queued for remote delivery user supplied data can be used to specify additional format specifiers to a vsprintf call. This can be accomplished by providing a specially crafted -NOTIFY argument to the SMTP "RCPT TO:" argument. Additionally, the destination buffer supplied to vsprintf is a local stack buffer and can also be overflowed with a large -NOTIFY argument. A remote attacker can exploit this vulnerability to execute arbitrary code under the context of the SYSTEM user.

ADDITIONAL DETAILS

Update to the latest version 11.02


DISCLOSURE TIMELINE
  • 2010-06-08 - Vulnerability reported to vendor
  • 2010-07-15 - Coordinated public release of advisory
CREDIT Anonymous
BACK TO ADVISORIES