1. /
  2. Security Response/
  3. Microsoft Windows GDI 'EMR_COLORMATCHTOTARGETW' Stack Overflow Vulnerability

Microsoft Windows GDI 'EMR_COLORMATCHTOTARGETW' Stack Overflow Vulnerability

Risk

High

Date Discovered

April 8, 2008

Description

Microsoft Windows is prone to a stack-based overflow vulnerability that resides in the GDI graphics library and can be triggered by a malformed EMF image file. A successful exploit of this vulnerability can allow a remote attacker to completely compromise the affected computer.

Technologies Affected

  • HP Storage Management Appliance 2.1
  • Microsoft Windows 2000 Advanced Server SP4
  • Microsoft Windows 2000 Datacenter Server SP4
  • Microsoft Windows 2000 Professional SP4
  • Microsoft Windows 2000 Server SP4
  • Microsoft Windows Server 2003 Datacenter Edition Itanium SP1
  • Microsoft Windows Server 2003 Datacenter Edition SP1
  • Microsoft Windows Server 2003 Datacenter x64 Edition SP2
  • Microsoft Windows Server 2003 Enterprise Edition Itanium SP1
  • Microsoft Windows Server 2003 Enterprise Edition SP1
  • Microsoft Windows Server 2003 Enterprise x64 Edition SP2
  • Microsoft Windows Server 2003 Itanium SP1
  • Microsoft Windows Server 2003 Itanium SP2
  • Microsoft Windows Server 2003 SP1
  • Microsoft Windows Server 2003 SP2
  • Microsoft Windows Server 2003 Standard Edition SP1
  • Microsoft Windows Server 2003 Standard Edition SP2
  • Microsoft Windows Server 2003 Web Edition SP1
  • Microsoft Windows Server 2003 Web Edition SP2
  • Microsoft Windows Server 2003 x64 SP1
  • Microsoft Windows Server 2003 x64 SP2
  • Microsoft Windows Server 2008 Datacenter Edition
  • Microsoft Windows Server 2008 Enterprise Edition
  • Microsoft Windows Server 2008 Standard Edition
  • Microsoft Windows Vista
  • Microsoft Windows Vista Business
  • Microsoft Windows Vista Business 64-bit edition
  • Microsoft Windows Vista Business 64-bit edition SP1
  • Microsoft Windows Vista Business SP1
  • Microsoft Windows Vista Enterprise
  • Microsoft Windows Vista Enterprise 64-bit edition
  • Microsoft Windows Vista Enterprise 64-bit edition SP1
  • Microsoft Windows Vista Enterprise SP1
  • Microsoft Windows Vista Home Basic
  • Microsoft Windows Vista Home Basic 64-bit edition
  • Microsoft Windows Vista Home Basic 64-bit edition SP1
  • Microsoft Windows Vista Home Basic SP1
  • Microsoft Windows Vista Home Premium
  • Microsoft Windows Vista Home Premium 64-bit edition
  • Microsoft Windows Vista Home Premium 64-bit edition SP1
  • Microsoft Windows Vista Home Premium SP1
  • Microsoft Windows Vista SP1
  • Microsoft Windows Vista Ultimate
  • Microsoft Windows Vista Ultimate 64-bit edition
  • Microsoft Windows Vista Ultimate 64-bit edition SP1
  • Microsoft Windows Vista Ultimate SP1
  • Microsoft Windows XP Home SP2
  • Microsoft Windows XP Media Center Edition SP2
  • Microsoft Windows XP Professional SP2
  • Microsoft Windows XP Professional x64 Edition SP2
  • Microsoft Windows XP Tablet PC Edition SP2
  • Nortel Networks CallPilot 1002rp
  • Nortel Networks CallPilot 200i
  • Nortel Networks CallPilot 201i
  • Nortel Networks CallPilot 702t
  • Nortel Networks CallPilot 703t
  • Research In Motion Blackberry Enterprise Server 4.0 SP3
  • Research In Motion Blackberry Enterprise Server 4.0.3
  • Research In Motion Blackberry Enterprise Server 4.1.3
  • Research In Motion Blackberry Enterprise Server 4.1.4
  • Research In Motion Blackberry Enterprise Server 4.1.5
  • Research In Motion Blackberry Enterprise Server 4.1.6
  • Research In Motion Blackberry Professional Software 4.1.4
  • Research In Motion Blackberry Unite! 1.0
  • Research In Motion Blackberry Unite! 1.0.1
  • Research In Motion Blackberry Unite! 1.0.1 bundle 36

Recommendations

Deploy network intrusion detection systems to monitor network traffic for malicious activity.

Deploy NIDS/NIPS to monitor network traffic for signs of anomalous or suspicious activity. This includes but is not limited to requests that include NOP sleds and unexplained incoming and outgoing traffic. This may indicate exploit attempts or activity that results from a successful exploit.

Do not accept or execute files from untrusted or unknown sources.

Attackers may exploit this vulnerability through a malicious EMF image file. Users are advised to avoid files sent in unsolicited or unexpected email attachments or instant messages.

Do not follow links provided by unknown or untrusted sources.

Attackers may exploit this issue via a malicious site. Users should be wary of visiting sites of questionable integrity, especially if solicited to do so by an untrusted or unfamiliar site.

Implement multiple redundant layers of security.

Various memory-protection schemes (such as nonexecutable and randomly mapped memory segments) may hinder an attacker's ability to exploit this vulnerability to execute arbitrary code. Host-based intrusion-prevention systems may also help prevent exploits.
Microsoft released fixes and a security bulletin to address this issue. Please see the references for more information.

Credits

Yamata Li
Copyright © Symantec Corporation.
Permission to redistribute this alert electronically is granted as long as it is not edited in any way unless authorized by Symantec Security Response. Reprinting the whole or part of this alert in any medium other than electronically requires permission from secure@symantec.com.

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.
Symantec, Symantec products, Symantec Security Response, and secure@symantec.com are registered trademarks of Symantec Corp. and/or affiliated companies in the United States and other countries. All other registered and unregistered trademarks represented in this document are the sole property of their respective companies/owners.

Threat Intelligence

Subscribe
Follow the Threat Intelligence Twitter feed
STAR Antimalware Protection Technologies
Internet Security Threat Report
Symantec DeepSight Screensaver