__________________________________________________________

                       The U.S. Department of Energy
                   Computer Incident Advisory Capability
                           ___  __ __    _     ___
                          /       |     /_\   /
                          \___  __|__  /   \  \___
             __________________________________________________________

                             INFORMATION BULLETIN

                             Vulnerabilities in GDI
                    [Microsoft Security Bulletin (MS08-021)]

April 9, 2008 20:00 GMT                                           Number S-254
[REVISED 10 Apr 2008]
[REVISED 11 Apr 2008]
[REVISED 14 Apr 2008]
[REVISED 17 Apr 2008]
______________________________________________________________________________
PROBLEM:       Several remote code execution vulnerabilities exist in the way 
               that GDI handles: 1) integer valculations; and 2) filename 
               parameters in EMF files. The vulnerability could allow remote 
               code execution if a user opens a specially crafted EMF or WMF 
               image file. 
PLATFORM:      Windows 2000 (all editions) 
               Windows XP (all editions) 
			   Windows Server 2003 (all editions) 
			   Windows Vista (all editions) 
			   Windows Server 2008 (all editions) 
			   Storage Management Appliance (SMA) v2.1 software running on 
			     Storage Management Appliance I, II, III
DAMAGE:        Remote code execution. 
SOLUTION:      Upgrade to the appropriate version. 
______________________________________________________________________________
VULNERABILITY  The risk is HIGH. An attacker who successfully exploited this 
ASSESSMENT:    vulnerability could take complete control of an affected 
               system.  This exploit has been seen in the wild.
______________________________________________________________________________
CVSS 2 BASE SCORE: 6.4 
 TEMPORAL SCORE:   5.3 
 VECTOR:           (AV:N/AC:L/Au:N/C:P/I:P/A:N/E:F/RL:OF/RC:C) 
______________________________________________________________________________
LINKS: 
 CIAC BULLETIN:      http://www.ciac.org/ciac/bulletins/s-254.shtml 
 ORIGINAL BULLETIN:  http://www.microsoft.com/technet/security/Bulletin/MS08-021.mspx 
 ADDITIONAL LINK:    Visit Hewlett-Packard's Subscription Service for:
                     HPSBST02329 SSRT080048 rev.1
 CVE:                http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= 
                     CVE-2008-1083 CVE-2008-1087 
______________________________________________________________________________
REVISION HISTORY:
04/10/2008 - revised S-254 to reflect changes Microsoft has made in MS08-021 where they
             added a Known Issues link to Microsoft Knowledge Base Article 948590, to add a 
             Known Issues section to the FAQ, to update the uninstall registry path, and to 
             update the Acknowledgments.
04/11/2008 - revised S-254 due to exploit being seen in the wild.  The Vulnerability
             Assessment has been raised to HIGH.
04/14/2008 - revised S-254 to reflect changes Microsoft has made in MS08-021 where
             they removed a reference to unsupported software in the Vulnerability FAQs.
04/17/2008 - revised S-254 to add a link to link to Hewlett-Packard's Subscription Service 
             for HPSBST02329 SSRT080048 rev. 1 for Storage Management Appliance (SMA) v2.1 
			 software running on Storage Management Appliance I, II, III.


[***** Start Microsoft Security Bulletin (MS08-021) *****]

Microsoft Security Bulletin MS08-021 – Critical
Vulnerabilities in GDI Could Allow Remote Code Execution (948590)
Published: April 8, 2008 | Update: April 11, 2008

Version: 1.2

General Information
Executive Summary
This security update resolves two privately reported vulnerabilities in GDI. 
Exploitation of either of these vulnerabilities could allow remote code execution 
if a user opens a specially crafted EMF or WMF image file. An attacker who 
successfully exploited these vulnerabilities could take complete control of an 
affected system. An attacker could then install programs; view, change, or delete 
data; or create new accounts with full user rights.

This is a critical security update for Microsoft Windows 2000 Service Pack 4, and 
all supported releases of Windows XP, Windows Server 2003, Windows Vista, and 
Windows Server 2008. For more information, see the subsection, Affected and 
Non-Affected Software, in this section.

This security update addresses the vulnerability by modifying the way that GDI 
handles integer calculations and string parameters. For more information about 
the vulnerability, see the Frequently Asked Questions (FAQ) subsection for the 
specific vulnerability entry under the next section, Vulnerability Information.

Recommendation.  Microsoft recommends that customers apply the update immediately

Known Issues.  Microsoft Knowledge Base Article 948590 documents the currently 
known issues that customers may experience when they uninstall this security 
update.

Top of section
Affected and Non-Affected Software
The following software have been tested to determine which versions or editions 
are affected. Other versions or editions are either past their support life 
cycle or are not affected. To determine the support life cycle for your software 
version or edition, visit Microsoft Support Lifecycle.

Affected Software

Operating System Maximum Security Impact Aggregate Severity Rating Bulletins 
Replaced by this Update 
Microsoft Windows 2000 Service Pack 4
 Remote Code Execution
 Critical
 MS07-046
 
Windows XP Service Pack 2
 Remote Code Execution
 Critical
 MS07-046
 
Windows XP Professional x64 Edition and Windows XP Professional x64 Edition 
Service Pack 2
 Remote Code Execution
 Critical
 MS07-046
 
Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2
 Remote Code Execution
 Critical
 MS07-046
 
Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service 
Pack 2
 Remote Code Execution
 Critical
 MS07-046
 
Windows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 
with SP2 for Itanium based Systems
 Remote Code Execution
 Critical
 MS07-046
 
Windows Vista and Windows Vista Service Pack 1
 Remote Code Execution
 Critical
 None
 
Windows Vista x64 Edition and Windows Vista x64 Edition Service Pack 1
 Remote Code Execution
 Critical
 None
 
Windows Server 2008 for 32-bit Systems
 Remote Code Execution
 Critical
 None
 
Windows Server 2008 for x64-based Systems
 Remote Code Execution
 Critical
 None
 
Windows Server 2008 for Itanium-based Systems
 Remote Code Execution
 Critical
 None
 
Vulnerability Information
 Severity Ratings and Vulnerability Identifiers 

Vulnerability Severity Rating and Maximum Security Impact by Affected Software 
Affected Software GDI Heap Overflow Vulnerability - CVE-2008-1083  GDI stack 
Overflow Vulnerability – CVE-2008-1087 Aggregate Severity Rating 
Microsoft Windows 2000 Service Pack 4
 Critical
Remote Code Execution
 Critical
Remote Code Execution
 Critical
 
Windows XP Service Pack 2
 Critical
Remote Code Execution
 Critical
Remote Code Execution
 Critical
 
Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service 
Pack 2
 Critical
Remote Code Execution
 Critical
Remote Code Execution
 Critical
 
Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2
 Critical
Remote Code Execution
 Critical
Remote Code Execution
 Critical
 
Windows Server 2003 x64 Edition and Windows 2003 Server x64 Edition Service Pack 2
 Critical
Remote Code Execution
 Critical
Remote Code Execution
 Critical
 
Windows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 with 
SP2 for Itanium based Systems
 Critical
Remote Code Execution
 Critical
Remote Code Execution
 Critical
 
Windows Vista and Windows Vista Service Pack 1
 Critical
Remote Code Execution
 Critical
Remote Code Execution
 Critical
 
Windows Vista x64 Edition and Windows Vista x64 Edition Service Pack 1
 Critical
Remote Code Execution
 Critical
Remote Code Execution
 Critical
 
Windows Server 2008 
 Critical
Remote Code Execution
 Critical
Remote Code Execution
 Critical
 

Top of section
 GDI Heap Overflow Vulnerability - CVE-2008-1083 

A remote code execution vulnerability exists in the way that GDI handles integer 
calculations. The vulnerability could allow remote code execution if a user opens 
a specially crafted EMF or WMF image file. An attacker who successfully exploited 
this vulnerability could take complete control of an affected system. An attacker 
could then install programs; view, change, or delete data; or create new accounts.

To view this vulnerability as a standard entry in the Common Vulnerabilities and 
Exposures list, see CVE-2008-1083.

 GDI Stack Overflow Vulnerability - CVE-2008-1087 

A remote code execution vulnerability exists in the way that GDI handles filename 
parameters in EMF files. The vulnerability could allow remote code execution if a 
user opens a specially crafted EMF image file. An attacker who successfully 
exploited this vulnerability could take complete control of an affected system. An 
attacker could then install programs; view, change, or delete data; or create new 
accounts.

To view this vulnerability as a standard entry in the Common Vulnerabilities and 
Exposures list, see CVE-2008-1087.

Update Information
 Detection and Deployment Tools and Guidance 

Manage the software and security updates you need to deploy to the servers, desktop, 
and mobile systems in your organization. For more information see the TechNet Update 
Management Center. The Microsoft TechNet Security Web site provides additional 
information about security in Microsoft products.

Security updates are available from Microsoft Update, Windows Update, and Office 
Update. Security updates are also available from the Microsoft Download Center. You 
can find them most easily by doing a keyword search for "security update."

Finally, security updates can be downloaded from the Microsoft Update Catalog. The 
Microsoft Update Catalog provides a searchable catalog of content made available 
through Windows Update and Microsoft Update, including security updates, drivers and 
service packs. By searching using the security bulletin number (such as, “MS07-036”), 
you can add all of the applicable updates to your basket (including different 
languages for an update), and download to the folder of your choosing. For more 
information about the Microsoft Update Catalog, see the Microsoft Update Catalog 
FAQ.

Detection and Deployment Guidance

Microsoft has provided detection and deployment guidance for this month’s security 
updates. This guidance will also help IT professionals understand how they can use 
various tools to help deploy the security update, such as Windows Update, Microsoft 
Update, Office Update, the Microsoft Baseline Security Analyzer (MBSA), the Office 
Detection Tool, Microsoft Systems Management Server (SMS), and the Extended Security 
Update Inventory Tool. For more information, see Microsoft Knowledge Base Article 
910723.

Microsoft Baseline Security Analyzer

Microsoft Baseline Security Analyzer (MBSA) allows administrators to scan local and 
remote systems for missing security updates as well as common security 
misconfigurations. For more information about MBSA, visit Microsoft Baseline 
Security Analyzer.

The following table provides the MBSA detection summary for this security update.

Software  MBSA 2.0.1 
Microsoft Windows 2000 Service Pack 4
 Yes
 
Windows XP Service Pack 2
 Yes
 
Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service 
Pack 2
 Yes
 
Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2
 Yes
 
Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2
 Yes
 
Windows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 with 
SP2 for Itanium-based Systems
 Yes
 
Windows Vista and Windows Vista Service Pack 1
 See Note for Windows Vista and Windows Server 2008, below
 
Windows Vista x64 Edition and Windows Vista x64 Edition Service Pack 1
 See Note for Windows Vista and Windows Server 2008, below
 
Windows Server 2008 
 See Note for Windows Vista and Windows Server 2008, below
 

Note for Windows Vista and Windows Server 2008 Microsoft does not support 
installing MBSA 2.0.1 on computers that run Windows Vista, but you may install 
MBSA 2.0.1 on a supported operating system and then scan the Windows Vista-based 
computer remotely. For additional information about MBSA support for Windows 
Vista, visit the MBSA Web site. See also Microsoft Knowledge Base Article 931943: 
Microsoft Baseline Security Analyzer (MBSA) support for Windows Vista.

For more information about MBSA 2.0.1, see MBSA 2.0 Frequently Asked Questions.

Windows Server Update Services

By using Windows Server Update Services (WSUS), administrators can deploy the 
latest critical updates and security updates for Windows 2000 operating systems 
and later, Office XP and later, Exchange Server 2003, and SQL Server 2000 to 
Windows 2000 and later operating systems. For more information about how to 
deploy this security update using Windows Server Update Services, visit the 
Windows Server Update Services Web site.

Systems Management Server

The following table provides the SMS detection and deployment summary for this 
security update.

Software SMS 2.0 SMS 2003 with SUSFP SMS 2003 with ITMU SCCM 2007 
Microsoft Windows 2000 Service Pack 4
 Yes
 Yes
 Yes
 Yes
 
Windows XP Service Pack 2
 Yes
 Yes
 Yes
 Yes
 
Windows XP Professional x64 Edition and Windows XP Professional x64 Edition 
Service Pack 2
 No
 No
 Yes
 Yes
 
Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2
 Yes
 Yes
 Yes
 Yes
 
Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2
 No
 No
 Yes
 Yes
 
Windows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 
with SP2 for Itanium-based Systems
 No
 No
 Yes
 Yes
 
Windows Vista and Windows Vista Service Pack 1
 No
 No
 See Note for Windows Vista and Windows Server 2008, below
 Yes
 
Windows Vista x64 Edition and Windows Vista x64 Edition Service Pack 1
 No
 No
 See Note for Windows Vista and Windows Server 2008, below
 Yes
 
Windows Vista for Itanium-based systems and Windows Vista for Itanium-based 
systems Service Pack 1 
 No
 No
 See Note for Windows Vista and Windows Server 2008, below
 Yes
 
Windows Server 2008 
 No
 No
 See Note for Windows Vista and Windows Server 2008, below
 Yes
 

For SMS 2.0 and SMS 2003, the SMS SUS Feature Pack (SUSFP), which includes the 
Security Update Inventory Tool (SUIT), can be used by SMS to detect security
updates. See also Downloads for Systems Management Server 2.0.

For SMS 2003, the SMS 2003 Inventory Tool for Microsoft Updates (ITMU) can be 
used by SMS to detect security updates that are offered by Microsoft Update and 
that are supported by Windows Server Update Services. For more information about 
the SMS 2003 ITMU, see SMS 2003 Inventory Tool for Microsoft Updates. SMS 2003 can 
also use the Microsoft Office Inventory Tool to detect required updates for 
Microsoft Office applications. For more information about the Office Inventory 
Tool and other scanning tools, see SMS 2003 Software Update Scanning Tools. See 
also Downloads for Systems Management Server 2003.

System Center Configuration Manager (SCCM) 2007 uses WSUS 3.0 for detection of 
updates. For more information about SCCM 2007 Software Update Management, visit 
System Center Configuration Manager 2007. 

Note for Windows Vista and Windows Server 2008 Microsoft Systems Management 
Server 2003 with Service Pack 3 includes support for Windows Vista manageability.

For more information about SMS, visit the SMS Web site.

For more detailed information, see Microsoft Knowledge Base Article 910723: 
Summary list of monthly detection and deployment guidance articles.

Top of section
 Security Update Deployment 

Affected Software

For information about the specific security update for your affected software, 
click the appropriate link:

* Windows 2000 (all editionsl)
* Windows XP (all editions)
* Windows Server 2003 (all editions)
* Windows Vista (all editions)
* Windows Server 2008 (all editons)

Other Information
Acknowledgments
Microsoft thanks the following for working with us to help protect customers:

• Jun Mao of iDefense Labs for reporting the GDI Heap Overflow Vulnerability 
  (CVE-2008-1083).
 
• Sebastian Apelt of Zero Day Initiative for reporting the GDI Heap Overflow 
  Vulnerability (CVE-2008-1083).
 
• Thomas Garnier of SkyRecon for reporting the GDI Heap Overflow Vulnerability 
  (CVE-2008-1083).
 
• Yamata Li for reporting the GDI Stack Overflow Vulnerability (CVE-2008-1087).
 

Top of section
Support
• Customers in the U.S. and Canada can receive technical support from Microsoft 
  Product Support Services at 1-866-PCSAFETY. There is no charge for support 
  calls that are associated with security updates.
 
• International customers can receive support from their local Microsoft 
  subsidiaries. There is no charge for support that is associated with 
  security updates. For more information about how to contact Microsoft for 
  support issues, visit the International Support Web site.
 

Top of section
Disclaimer
The information provided in the Microsoft Knowledge Base is provided "as is" 
without warranty of any kind. Microsoft disclaims all warranties, either 
express or implied, including the warranties of merchantability and fitness 
for a particular purpose. In no event shall Microsoft Corporation or its 
suppliers be liable for any damages whatsoever including direct, indirect, 
incidental, consequential, loss of business profits or special damages, even 
if Microsoft Corporation or its suppliers have been advised of the 
possibility of such damages. Some states do not allow the exclusion or 
limitation of liability for consequential or incidental damages so the 
foregoing limitation may not apply.

Top of section
Revisions
• V1.0 (April 8, 2008): Bulletin published.
• V1.1 (April 9, 2008): Bulletin updated to add a Known Issues link to Microsoft 
  Knowledge Base Article 948590, to add a Known Issues section to the FAQ, to 
  update the uninstall registry path, and to update the Acknowledgments.
• V1.2 (April 11, 2008): Bulletin updated to remove a reference to unsupported 
  software in the Vulnerability FAQs.
   


[***** End Microsoft Security Bulletin (MS08-021) *****]
_______________________________________________________________________________

CIAC wishes to acknowledge the contributions of Microsoft for the 
information contained in this bulletin.
_______________________________________________________________________________


CIAC, the Computer Incident Advisory Capability, is the computer
security incident response team for the U.S. Department of Energy
(DOE) and the emergency backup response team for the National
Institutes of Health (NIH). CIAC is located at the Lawrence Livermore
National Laboratory in Livermore, California. CIAC is also a founding
member of FIRST, the Forum of Incident Response and Security Teams, a
global organization established to foster cooperation and coordination
among computer security teams worldwide.

CIAC services are available to DOE, DOE contractors, and the NIH. CIAC
can be contacted at:
    Voice:    +1 925-422-8193 (7x24)
    FAX:      +1 925-423-8002
    STU-III:  +1 925-423-2604
    E-mail:   ciac@ciac.org

Previous CIAC notices, anti-virus software, and other information are
available from the CIAC Computer Security Archive.

   World Wide Web:      http://www.ciac.org/
   Anonymous FTP:       ftp.ciac.org

PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing
communities receive CIAC bulletins.  If you are not part of these
communities, please contact your agency's response team to report
incidents. Your agency's team will coordinate with CIAC. The Forum of
Incident Response and Security Teams (FIRST) is a world-wide
organization. A list of FIRST member organizations and their
constituencies can be obtained via WWW at http://www.first.org/.

This document was prepared as an account of work sponsored by an
agency of the United States Government. Neither the United States
Government nor the University of California nor any of their
employees, makes any warranty, express or implied, or assumes any
legal liability or responsibility for the accuracy, completeness, or
usefulness of any information, apparatus, product, or process
disclosed, or represents that its use would not infringe privately
owned rights. Reference herein to any specific commercial products,
process, or service by trade name, trademark, manufacturer, or
otherwise, does not necessarily constitute or imply its endorsement,
recommendation or favoring by the United States Government or the
University of California. The views and opinions of authors expressed
herein do not necessarily state or reflect those of the United States
Government or the University of California, and shall not be used for
advertising or product endorsement purposes.

LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC)

S-213: Nukedit 'email' Parameter Vulnerability
S-214: SurgeMail and WebMail 'Page' Command Vulnerability
S-215: Symantec Backup Exec Scheduler ActiveX Control Multiple Vulnerabilities
S-216: Juniper Networks Secure Access 2000 'rdremediate.cgi' Vulnerability
S-217: Drupal Multiple HTML Vulnerabilities
S-218: gd Security Update
S-219: Juniper Networks Secure Access 2000 Web Root Path Vulnerability
S-220: PHP-Nuke My_eGallery Module 'gid' Parameter Vulnerability
S-221: Learn2 STRunner ActiveX Control Vulnerabilities
S-222: Evolution Security Update