Public Vulnerability Reports

IBM Lotus Domino IMAP Buffer Overflow Vulnerability



IBM Lotus Domino Server software provides messaging, calendaring and scheduling capabilities on a variety of operating systems. More information about the product is available at the following URL.


Remote exploitation of a buffer overflow vulnerability within IBM Corp.'s Lotus Domino allows attackers to execute arbitrary code in the context of the IMAP service.

This vulnerability exists within the IMAP component of a Domino Server. The problem specifically lies in the handling of mailbox names within specific commands. If a user has subscribed to a mailbox with an overly long name, certain commands will copy the user-supplied mailbox name into a fixed-size stack buffer without proper validation.


Exploitation allows attackers to execute arbitrary code in the context of the IMAP service. In order to conduct the attack, the attacker must be able to establish a TCP session with the IMAP service on TCP port 143. Valid credentials are required to access the vulnerable code.

Under Windows, the privileges gained are (by default) that of the SYSTEM user. This allows an attacker to take complete control of the compromised system.

Although the UNIX version of the service does not run as root, it does run as the same user as many other components of the Lotus Domino Server. Because of this an attacker may gain access to sensitive information or be able to maliciously subvert the system in other ways.


iDefense has confirmed the existence of this vulnerability within version of Lotus Domino running on Linux as well as Windows Server 2003. Previous versions, as well as builds for other platforms, are suspected to be vulnerable.


Employing firewalls to limit access to the affected service will mitigate exposure to this vulnerability.


IBM Lotus has addressed this vulnerability within versions 6.5.6 Fix Pack 2 (FP2), 7.0.3 and 8.0 of Lotus Domino. For more information, visit the following URL.


The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2007-3510 to this issue. This is a candidate for inclusion in the CVE list (, which standardizes names for security problems.


06/27/2007 Initial vendor notification
06/28/2007 Initial vendor response
10/23/2007 Coordinated public disclosure


This vulnerability was reported to iDefense by Manuel Santamarina Suarez.

Get paid for vulnerability research

Free tools, research and upcoming events


Copyright © 2007 Verisign, Inc.

Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail customer service for permission.

Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.