Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Generic)  >   IBM iNotes and Domino Vendors:   IBM
IBM Lotus Notes Buffer Overflow in TagAttributeListCopy Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1018857
SecurityTracker URL:
CVE Reference:   CVE-2007-4222   (Links to External Site)
Date:  Oct 24 2007
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 7.0.3
Description:   A vulnerability was reported in IBM Lotus Notes. A remote user can cause arbitrary code to be executed on the target user's system.

A remote user can send a specially crafted HTML-based e-mail message that, when replied to, forwarded, or copied to the clipboard by the target user, will trigger a buffer overflow in the TagAttributeListCopy() function in 'nnotes.dll' and execute arbitrary code on the target system. The code will run with the privileges of the target user.

The vendor was notified on February 7, 2007.

UVInc reported this vulnerability via iDefense.

Impact:   A remote user can send an e-mail that, when replied to, forwarded, or copied to the clipboard by the target user, will execute arbitrary code on the target user's system.
Solution:   The vendor has issued fixed versions (7.0.3 and 8.0).

The IBM advisory is available at:

Vendor URL: (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Any), UNIX (macOS/OS X), Windows (Any)

Message History:   None.

 Source Message Contents

Subject:  iDefense Security Advisory 10.23.07: IBM Lotus Notes Client

IBM Lotus Notes Client TagAttributeListCopy Buffer Overflow Vulnerability

iDefense Security Advisory 10.23.07
Oct 23, 2007


IBM Corp.'s Lotus Notes software is an integrated desktop client option
for accessing e-mail, calendars and applications on an IBM Corp. Lotus
Domino server. More information can be found by visiting the URL below.


Remote exploitation of a buffer overflow vulnerability in IBM Corp.'s
Lotus Notes mail user agent could allow attackers to execute arbitrary
code in the context of the current user.

When a Lotus Notes user receives an HTML email, the HTML is converted to
a format resembling RTF (Rich Text Format). When messages are replied
to, forwarded or copied to the clipboard, the e-mail format is
converted again.

The buffer overflow is the result of a call to "Cstrcpy" when copying an
attacker supplied variable length string into a fixed-sized stack
buffer. The overflow occurs at the "Cstrcpy" call inside the
"TagAttributeListCopy" function in nnotes.dll.


Exploitation allows attackers to execute arbitrary code in the context
of the recipient of the message. In order to be successful, an attacker
must social engineer the victim into processing a specially crafted
message in a certain way. Specifically, the victim must either forward,
reply with history, or copy the message to the clipboard in order to
trigger the vulnerability.

Additionally, non-printable ASCII characters are converted to the LMBCS
(Lotus MultiByte Character Set) before the overflow occurs. This
complicates, but does not prevent, exploitation.


iDefense confirmed the existence of this vulnerability in version 7.0.2
of IBM Corp.'s Lotus Notes. Additionally, versions 6.5.1, 6.5.3 and
7.0.1 were reported to be vulnerable. Other versions are suspected to
be vulnerable.


iDefense is currently unaware of any effective workaround for this


IBM Lotus has addressed this vulnerability within versions 7.0.3 and 8.0
of Lotus Notes. For more information, visit the following URL.


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


02/07/2007  Initial vendor notification
02/07/2007  Initial vendor response
10/23/2007  Coordinated public disclosure


This vulnerability was reported to iDefense by UVInc.

Get paid for vulnerability research

Free tools, research and upcoming events


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 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.
To unsubscribe, go here:


Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, LLC