__________________________________________________________

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

                             INFORMATION BULLETIN

        Vulnerability in the Windows Schannel Security Package (935840)
                    [Microsoft Security Bulletin (MS07-031)]

June 12, 2007 18:00 GMT                                           Number R-271
[REVISED 22 June 2007]
______________________________________________________________________________
PROBLEM:       A remote code execution vulnerability exists in the way that 
               Windows Schannel on a client machine validates server-sent 
               digital signatures. 
PLATFORM:      Windows 2000 Service Pack 4 
               Windows XP Service Pack 2 
			   Windows XP Professional x64 Edition and Service Pack 2 
			   Windows Server 2003 Service Pack 1 and 2 
			   Windows Server 2003 x64 Edition and Service Pack 2 
               Windows Server 2003 with SP1 and SP2 for Itanium-based Systems 
			   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. Remote code execution. 
ASSESSMENT:                                                                   
______________________________________________________________________________
LINKS: 
 CIAC BULLETIN:      http://www.ciac.org/ciac/bulletins/r-271.shtml 
 ORIGINAL BULLETIN:  http://www.microsoft.com/technet/security/Bulletin/MS07-031.mspx 
 ADDITIONAL LINK:    Visit Hewlett-Packard's Subscription Service for:
                     HPSBST02231 SSRT071438 rev. 1
 CVE:                http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= 
                     CVE-2007-2218 
______________________________________________________________________________
REVISION HISTORY:
06/22/2007 - revised R-271 to add a link to HPSBST02231 SSRT071438 rev.1
             for Storage Management Appliance (SMA) v2.1 software running on Storage
             Management Appliance I, II, III.




[***** Start Microsoft Security Bulletin (MS07-031) *****]

Microsoft Security Bulletin MS07-031 - Critical
Vulnerability in the Windows Schannel Security Package Could Allow Remote Code 
   Execution (935840)
Published: June 12, 2007

Version: 1.0

General Information
Executive Summary
This critical security update resolves a privately reported vulnerability in the 
Secure Channel (Schannel) security package in Windows. The Schannel security package 
implements the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) 
Internet standard authentication protocols. This vulnerability could allow remote 
code execution if a user viewed a specially crafted Web page using an Internet Web 
browser or used an application that makes use of SSL/TLS. However, attempts to exploit this vulnerability would most likely result in the Internet Web browser or application exiting. The system would not be able to connect to Web sites or resources using SSL or TLS until a restart of the system.

This is a critical security update for supported editions of Windows XP, important for editions of Windows 2003, and moderate for editions of Windows 2000. 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 the client parses server-key exchange data sent from the server. 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. None

Update Replacement. This security update does not replace a prior security update.

Top of section
Affected and Non-Affected Software
In the following tables of affected and non-affected software, software versions that are not listed are past their support lifecycle. To determine the support lifecycle for your product and version, visit Microsoft Support Lifecycle.

Affected Software

Operating System Maximum Security Impact Aggregate Severity Rating 
Windows 2000 Service Pack 4
 Denial of Service
 Moderate
 
Windows XP Service Pack 2
 Remote Code Execution
 Critical
 
Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2
 Remote Code Execution
 Critical
 
Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2
 Denial of Service
 Important
 
Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2
 Denial of Service
 Important
 
Windows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 with SP2 for Itanium-based Systems
 Denial of Service
 Important
 

Non-Affected Software

Software 
Windows Vista
 
Windows Vista x64 Edition
 

Top of section
 Frequently Asked Questions (FAQ) Related to This Security Update 

I am using an older version of the software discussed in this security bulletin. What should I do? 
Theaffected software listed in this bulletin has been tested to determine which versions are affected. Other versions are past their support life cycle. To determine the support life cycle for your product and version, visit Microsoft Support Lifecycle.

It should be a priority for customers who have older versions of the software to migrate to supported versions to prevent potential exposure to vulnerabilities. For more information about the Windows Product Lifecycle, visit the following Microsoft Support Lifecycle. For more information about the extended security update support period for these operating system versions, visit the Microsoft Product Support Services Web site.

Customers who require custom support for older software must contact their Microsoft account team representative, their Technical Account Manager, or the appropriate Microsoft partner representative for custom support options. Customers without an Alliance, Premier, or Authorized Contract can contact their local Microsoft sales office. For contact information, visit the Microsoft Worldwide Information Web site, select the country, and then click Go to see a list of telephone numbers. When you call, ask to speak with the local Premier Support sales manager. For more information, see the Windows Operating System Product Support Lifecycle FAQ.

Top of section
Vulnerability Information
 Severity Ratings and Vulnerability Identifiers 

Vulnerability Severity Rating and Maximum Security Impact by Affected Software 
Affected Software Vulnerability in the Windows Schannel Security Package – CVE-2007-2218 Aggregate Severity Rating 
Windows 2000 Service Pack 4
 Moderate

Denial of Service
 Moderate
 
Windows XP Service Pack 2
 Critical

Remote Code Execution
 Critical
 
Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2
 Critical

Remote Code Execution
 Critical
 
Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2
 Important

Denial of Service
 Important
 
Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2
 Important

Denial of Service
 Important
 
Windows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 with SP2 for Itanium-based Systems
 Important

Denial of Service
 Important
 

Top of section
 Vulnerability in the Windows Schannel Security Package - CVE-2007-2218 

A remote code execution vulnerability exists in the way that Windows Schannel on a client machine validates server-sent digital signatures. An attacker could host a specially crafted Web site that is designed to exploit these vulnerabilities through an Internet Web browser and then convince a user to view the Web site. In all cases, however, an attacker would have no way to force users to visit these Web sites. Instead, an attacker would have to convince users to visit the Web site, typically by getting them to click a link in an e-mail message or in an Instant Messenger message that takes users to the attacker's Web site.

To view this vulnerability as a standard entry in the Common Vulnerabilities and Exposures list, see CVE-2007-2218

 Mitigating Factors for Vulnerability in the Windows Schannel Security Package - CVE-2007-2218 

Mitigation refers to a setting, common configuration, or general best-practice, existing in a default state, that could reduce the severity of exploitation of a vulnerability. The following mitigating factors may be helpful in your situation:

• In a Web-based attack scenario, an attacker could host a Web site that contains a Web page that is used to exploit this vulnerability. In addition, Web sites that accept or host user-provided content or advertisements could contain specially crafted content that could exploit this vulnerability. In all cases, however, an attacker would have no way to force users to visit these Web sites. Instead, an attacker would have to convince users to visit the Web site, typically by getting them to click a link in an e-mail message or Instant Messenger message that takes users to the attacker's Web site.
 
• Attempts to exploit this vulnerability will most probably result in a Denial of Service condition caused by an unexpected restart of the affected system rather than Remote Code Execution. On Windows 2000, the denial of service condition is limited to existing and new SSL and TLS connections whereas the system would still be available otherwise. On Windows Server 2003, a successful attack would cause the system to restart.
 

Top of section
 Workarounds for Vulnerability in the Windows Schannel Security Package - CVE-2007-2218 

Microsoft has not identified any workarounds for this vulnerability.

Top of section
 FAQ for Vulnerability in the Windows Schannel Security Package - CVE-2007-2218 

What is the scope of the vulnerability?
On Windows XP, this is a remote code execution vulnerability. An attacker who successfully exploited this vulnerability could remotely 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. Attempts to exploit this vulnerability will most probably result in a denial of service condition rather than remote code execution. 

On Windows 2000 this vulnerability could cause the affected system to stop accepting SSL and TLS connections. The system would not be able to connect to Web sites or resources using SSL or TLS until a restart of the system. 

On Windows 2003, the vulnerability could cause the affected system to automatically restart. 

This vulnerability would not allow an attacker to execute code or to elevate their user rights directly on Windows 2000 and Windows 2003.

What causes the vulnerability?
Schannel performs insufficient checks for specially crafted server-sent digital signatures during the SSL handshake. 

What is Schannel?
The Secure Channel (Schannel) security package is a Security Support Provider (SSP) that implements the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) Internet standard authentication protocols. Schannel is part of the security package that provides an authentication service to provide secure communications between client and server. For more information about Schannel, visit the following MSDN Web site.

What might an attacker use the vulnerability to do?
An attacker who successfully exploited this vulnerability could take complete control of the affected system on Windows XP editions. However, attempts to exploit this vulnerability would most likely result in an Internet Web browser or application using SSL/TLS to exit. The system would not be able to connect to Web sites or resources using SSL or TLS until a restart of the system. On Windows 2000 editions and Windows 2003 editions attempts to exploit this vulnerability would result in a denial of service condition.

How could an attacker exploit the vulnerability?
An attacker could host a specially crafted Web site that is designed to exploit this vulnerability through an Internet Web browser and then convince a user to view the Web site. The processing of this specially crafted server-sent digital signature causes any application that uses this API to exit, and also disables the SSL protocol until the next system restart. In all cases, however, an attacker would have no way to force users to visit these Web sites. Instead, an attacker would have to convince users to visit the Web site, typically by getting them to click a link in an e-mail message or in an Instant Messenger request that takes users to the attacker's Web site.

What systems are primarily at risk from the vulnerability?
This vulnerability requires that a user is logged on and visits a Web site for any malicious action to occur. Therefore, any systems where an Internet Web browser or applications that use SSL or TLS is used frequently, such as workstations or terminal servers, are at the most risk from this vulnerability.

What does the update do?
The update removes the vulnerability by modifying the way that the client parses server-key exchange data sent from the server.

When this security bulletin was issued, had this vulnerability been publicly disclosed?
No. Microsoft received information about this vulnerability through responsible disclosure.

When this security bulletin was issued, had Microsoft received any reports that this vulnerability was being exploited?
No. Microsoft had not received any information to indicate that this vulnerability had been publicly used to attack customers and had not seen any examples of proof of concept code published when this security bulletin was originally issued.

Top of section
Top of section
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 at the Microsoft Download Center. You can find them most easily by doing a keyword search for "security_patch." Finally, security updates can be downloaded from the Windows Update Catalog. For more information about the Windows Update Catalog, see Microsoft Knowledge Base Article 323166.

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), the Extended Security Update Inventory Tool, and the Enterprise Update Scan Tool (EST). 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 Web site. The following table provides the MBSA detection summary for this security update.

Software MBSA 1.2.1 MBSA 2.0.1 
Windows 2000 Service Pack 4
 Yes
 Yes
 
Windows XP Service Pack 2
 Yes
 Yes
 
Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2
 No
 Yes
 
Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2
 Yes
 Yes
 
Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2
 No
 Yes
 
Windows Server 2003 with SP1 for Itanium-based Systems and Microsoft Windows Server 2003 with SP2 for Itanium-based Systems
 No
 Yes
 

For more information about MBSA, visit the MBSA Web site. For more information about the software that Microsoft Update and MBSA 2.0 currently do not detect, see Microsoft Knowledge Base Article 895660.

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 
Windows 2000 Service Pack 4
 Yes
 Yes
 
Windows XP Service Pack 2
 Yes
 Yes
 
Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2
 No
 Yes
 
Windows Server 2003 Service Pack 1 and Microsoft Windows Server 2003 Service Pack 2
 Yes
 Yes
 
Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2 
 No
 Yes
 
Windows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 with SP2 for Itanium-based Systems
 No
 Yes
 

For SMS 2.0, the SMS SUS Feature Pack, which includes the Security Update Inventory Tool (SUIT), can be used by SMS to detect security updates. SMS SUIT uses the MBSA 1.2.1 engine for detection. For more information about SUIT, visit the following Microsoft Web site. For more information about the limitations of SUIT, see Microsoft Knowledge Base Article 306460. The SMS SUS Feature Pack also includes the Microsoft Office Inventory Tool to detect required updates for Microsoft Office applications.

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, visit the following Microsoft Web site. SMS 2003 can also use the Microsoft Office Inventory Tool to detect required updates for Microsoft Office applications.

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

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 versions) 

Reference Table

The following table contains the security update information for this software. You can find additional information in the subsection, Deployment Information, in this section.

Inclusion in Future Service Packs
 The update for this issue may be included in a future update rollup
 
Deployment
  
 
Installing without user intervention
 Windows 2000 Service Pack 4:
Windows2000-kb935840-x86-enu /quiet
 
Installing without restarting
 Windows 2000 Service Pack 4:
Windows2000-kb935840-x86-enu /norestart
 
Update log file
 Windows 2000 Service Pack 4:
KB935840.log
 
Further information
 See the subsection, Detection and Deployment Tools and Guidance
 
Restart Requirement
  
 
Restart required
 Yes, you must restart your system after you apply this security update
 
Hotpatching
 Not applicable
 
Removal Information
 Windows 2000 Service Pack 4:
Use Add or Remove Programs tool in Control Panel or the Spuninst.exe utility located in the %Windir%\$NTUninstallKB935840$\Spuninst folder
 
File Information
 See the subsection, File Information, in this section, or Microsoft Knowledge Base Article 935840 for the full file manifest
 
Registry Key Verification
 For Windows 2000 Service Pack 4:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows 2000\SP5\KB935840\Filelist
 
 File Information 

The English version of this security update has the file attributes that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

For all supported and affected editions of Windows 2000 Service Pack 4:

File Name Version Date Time Size CPU 
Schannel.dll
 5.1.2195.7136
 25-Apr-2007
 20:22
 147,216
 X86
 

Note For a complete list of supported versions, see the Support Lifecycle Index. For a complete list of service packs, see Lifecycle Supported Service Packs. For more information on the support lifecycle policy, see Microsoft Support Lifecycle.

Top of section
 Deployment Information 

Installing the Update

When you install this security update, the installer checks to see if one or more of the files that are being updated on your system have previously been updated by a Microsoft hotfix.

If you have previously installed a hotfix to update one of these files, the installer copies any applicable RTMQFE, SP1QFE, or SP2QFE files to your system. Otherwise, the installer copies the RTMGDR, SP1GDR, or SP2GDR files to your system. Security updates may not contain all variations of these files. For more information about this behavior, see Microsoft Knowledge Base Article 824994.

For more information about the Package installer, visit the Microsoft TechNet Web site.

For more information about the terminology that appears in this bulletin, such as hotfix, see Microsoft Knowledge Base Article 824684.

This security update supports the following setup switches.

Supported Security Update Installation Switches 
Switch Description 
/help
 Displays the command-line options
 
Setup Modes   
/passive
 Unattended Setup mode. No user interaction is required, but installation status is displayed. If a restart is required at the end of Setup, a dialog box will be presented to the user with a timer warning that the system will restart in 30 seconds.
 
/quiet
 Quiet mode. This is the same as unattended mode, but no status or error messages are displayed.
 
Restart Options   
/norestart
 Does not restart when installation has completed
 
/forcerestart
 Restarts the system after installation and force other applications to close at shutdown without saving open files first.
 
/warnrestart[:x]
 Presents a dialog box with a timer warning the user that the system will restart in x seconds. (The default setting is 30 seconds.) Intended for use with the /quiet switch or the /passive switch.
 
/promptrestart
 Display a dialog box prompting the local user to allow a restart
 
Special Options   
/overwriteoem
 Overwrites OEM files without prompting
 
/nobackup
 Does not back up files needed for uninstall
 
/forceappsclose
 Forces other programs to close when the system shuts down
 
/log:path
 Allows the redirection of installation log files
 
/extract[:path]
 Extracts files without starting the Setup program
 
/ER
 Enables extended error reporting
 
/verbose
 Enables verbose logging. During installation, creates %Windir%\CabBuild.log. This log details the files that are copied. Using this switch may cause the installation to proceed more slowly.
 

Note You can combine these switches into one command. For backward compatibility, the security update also supports the setup switches that the earlier version of the Setup program uses. For more information about the supported installation switches, see Microsoft Knowledge Base Article 262841. For more information about the Package Installer, visit the Microsoft TechNet Web site. For more information about the terminology that appears in this bulletin, such as hotfix, see Microsoft Knowledge Base Article 824684.

Removing the Update

This security update supports the following setup switches.

Supported Spuninst.exe Switches 
Switch Description 
/help
 Displays the command-line options
 
Setup Modes   
/passive
 Unattended Setup mode. No user interaction is required, but installation status is displayed. If a restart is required at the end of Setup, a dialog box will be presented to the user with a timer warning that the system will restart in 30 seconds.
 
/quiet
 Quiet mode. This is the same as unattended mode, but no status or error messages are displayed.
 
Restart Options   
/norestart
 Does not restart when installation has completed
 
/forcerestart
 Restarts the system after installation and force other applications to close at shutdown without saving open files first.
 
/warnrestart[:x]
 Presents a dialog box with a timer warning the user that the system will restart in x seconds. (The default setting is 30 seconds.) Intended for use with the /quiet switch or the /passive switch.
 
/promptrestart
 Display a dialog box prompting the local user to allow a restart
 
Special Options   
/forceappsclose
 Forces other programs to close when the system shuts down
 
/log:path
 Allows the redirection of installation log files
 

Verifying That the Update Has Been Applied

• Microsoft Baseline Security Analyzer

To verify that a security update has been applied to an affected system, you may be able to use the Microsoft Baseline Security Analyzer (MBSA) tool. See the section, Detection and Deployment Tools and Guidance, earlier in this bulletin for more information.
 
• File Version Verification

Because there are several versions and editions of Microsoft Windows, the following steps may be different on your system. If they are, see your product documentation to complete these steps.

1.
 Click Start, and then click Search.
 
2.
 In the Search Results pane, click All files and folders under Search Companion.
 
3.
 In the All or part of the file name box, type a file name from the appropriate file information table, and then click Search.
 
4.
 In the list of files, right-click a file name from the appropriate file information table, and then click Properties.

Note Depending on the version of the operating system or programs installed, some of the files that are listed in the file information table may not be installed.
 
5.
 On the Version tab, determine the version of the file that is installed on your system by comparing it to the version that is documented in the appropriate file information table.

Note Attributes other than the file version may change during installation. Comparing other file attributes to the information in the file information table is not a supported method of verifying that the update has been applied. Also, in certain cases, files may be renamed during installation. If the file or version information is not present, use one of the other available methods to verify update installation.
 
 
• Registry Key Verification

You may also be able to verify the files that this security update has installed by reviewing the registry keys listed in the Reference Table in this section.

These registry keys may not contain a complete list of installed files. Also, these registry keys may not be created correctly when an administrator or an OEM integrates or slipstreams this security update into the Windows installation source files.
 

Top of section
Top of section
 Windows XP (all versions) 

Reference Table

The following table contains the security update information for this software. You can find additional information in the subsection, Deployment Information, in this section.

Inclusion in Future Service Packs
 The update for this issue will be included in a future service pack or update rollup
 
Deployment
  
 
Installing without user intervention
 Windows XP Service Pack 2:
Windowsxp-kb935840-x86-enu /quiet
 
 
 Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2:
Windowsserver2003-kb935840-x86-enu /quiet
 
Installing without restarting
 Windows XP Service Pack 2:
Windowsxp-kb935840-x86-enu /norestart
 
 
 Windows XP Professional x64 Edition and Windows XP Professional x64 Edition Service Pack 2:
Windowsserver2003-kb935840-x86-enu /norestart
 
Update log file
 KB935840.log
 
Further information
 See the subsection, Detection and Deployment Tools and Guidance
 
Restart Requirement
  
 
Restart required
 Yes, you must restart your system after you apply this security update
 
Hotpatching
 Not applicable
 
Removal Information
 Use Add or Remove Programs tool in Control Panel or the Spuninst.exe utility located in the %Windir%\$NTUninstallKB935840$\Spuninst folder
 
File Information
 See the subsection, File Information, below or Microsoft Knowledge Base Article 935840 for the full file manifest
 
Registry Key Verification
 For all supported and affected 32-bit versions of Windows XP:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB935840\Filelist
 
 
 For all supported and affected x64 versions of Windows XP:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows Server 2003\SP3\KB935840\Filelist
 
 File Information 

The English version of this security update has the file attributes that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

For all supported and affected 32-bit versions of Windows XP:

File Name Version Date Time Size CPU Folder 
schannel.dll
 5.1.2600.3126
 25-Apr-2007
 14:21
 144,896
 X86
 SP2GDR
 
schannel.dll
 5.1.2600.3126
 25-Apr-2007
 20:32
 144,896
 X86
 SP2QFE
 

For all supported and affected versions of Windows XP Professional x64:

File Name Version Date Time Size CPU Folder 
schannel.dll
 5.2.3790.2924
 25-Apr-2007
 21:40
 253,952
 X64
 SP1GDR
 
wschannel.dll
 5.2.3790.2924
 25-Apr-2007
 21:40
 144,384
 X86
 SP1GDR\wow
 
schannel.dll
 5.2.3790.2924
 25-Apr-2007
 21:40
 253,952
 X64
 SP1QFE
 
wschannel.dll
 5.2.3790.2924
 25-Apr-2007
 21:40
 144,384
 X86
 SP1QFE\wow
 
schannel.dll
 5.2.3790.4068
 25-Apr-2007
 21:45
 253,952
 X64
 SP2GDR
 
wschannel.dll
 5.2.3790.4068
 25-Apr-2007
 21:45
 146,944
 X86
 SP2GDR\wow
 
schannel.dll
 5.2.3790.4068
 25-Apr-2007
 21:40
 253,952
 X64
 SP2QFE
 
wschannel.dll
 5.2.3790.4068
 25-Apr-2007
 21:40
 146,944
 X86
 SP2QFE\wow
 

Note For a complete list of supported versions, see the Support Lifecycle Index. For a complete list of service packs, see Lifecycle Supported Service Packs. For more information on the support lifecycle policy, see Microsoft Support Lifecycle.

Top of section
 Deployment Information 

Installing the Update

When you install this security update, the installer checks to see if one or more of the files that are being updated on your system have previously been updated by a Microsoft hotfix.

If you have previously installed a hotfix to update one of these files, the installer copies any applicable RTMQFE, SP1QFE, or SP2QFE files to your system. Otherwise, the installer copies the RTMGDR, SP1GDR, or SP2GDR files to your system. Security updates may not contain all variations of these files. For more information about this behavior, see Microsoft Knowledge Base Article 824994.

For more information about the Package Installer, visit the Microsoft TechNet Web site.

For more information about the terminology that appears in this bulletin, such as hotfix, see Microsoft Knowledge Base Article 824684.

This security update supports the following setup switches.

Supported Security Update Installation Switches 
Switch Description 
/help
 Displays the command-line options
 
Setup Modes   
/passive
 Unattended Setup mode. No user interaction is required, but installation status is displayed. If a restart is required at the end of Setup, a dialog box will be presented to the user with a timer warning that the system will restart in 30 seconds.
 
/quiet
 Quiet mode. This is the same as unattended mode, but no status or error messages are displayed.
 
Restart Options   
/norestart
 Does not restart when installation has completed
 
/forcerestart
 Restarts the system after installation and force other applications to close at shutdown without saving open files first.
 
/warnrestart[:x]
 Presents a dialog box with a timer warning the user that the system will restart in x seconds. (The default setting is 30 seconds.) Intended for use with the /quiet switch or the /passive switch.
 
/promptrestart
 Display a dialog box prompting the local user to allow a restart
 
Special Options   
/overwriteoem
 Overwrites OEM files without prompting
 
/nobackup
 Does not back up files needed for uninstall
 
/forceappsclose
 Forces other programs to close when the system shuts down
 
/log:path
 Allows the redirection of installation log files
 
/integrate:path
 Integrates the update into the Windows source files. These files are located at the path that is specified in the switch.
 
/extract[:path]
 Extracts files without starting the Setup program
 
/ER
 Enables extended error reporting
 
/verbose
 Enables verbose logging. During installation, creates %Windir%\CabBuild.log. This log details the files that are copied. Using this switch may cause the installation to proceed more slowly.
 

Note You can combine these switches into one command. For backward compatibility, the security update also supports the setup switches that the earlier version of the Setup program uses. For more information about the supported installation switches, see Microsoft Knowledge Base Article 262841. For more information about the Package Installer, visit the Microsoft TechNet Web site.

Removing the Update

This security update supports the following setup switches.

Supported Spuninst.exe Switches 
Switch Description 
/help
 Displays the command-line options
 
Setup Modes   
/passive
 Unattended Setup mode. No user interaction is required, but installation status is displayed. If a restart is required at the end of Setup, a dialog box will be presented to the user with a timer warning that the system will restart in 30 seconds.
 
/quiet
 Quiet mode. This is the same as unattended mode, but no status or error messages are displayed.
 
Restart Options   
/norestart
 Does not restart when installation has completed
 
/forcerestart
 Restarts the system after installation and force other applications to close at shutdown without saving open files first.
 
/warnrestart[:x]
 Presents a dialog box with a timer warning the user that the system will restart in x seconds. (The default setting is 30 seconds.) Intended for use with the /quiet switch or the /passive switch.
 
/promptrestart
 Display a dialog box prompting the local user to allow a restart
 
Special Options   
/forceappsclose
 Forces other programs to close when the system shuts down
 
/log:path
 Allows the redirection of installation log files
 

Verifying That the Update Has Been Applied

• Microsoft Baseline Security Analyzer

To verify that a security update has been applied to an affected system, you may be able to use the Microsoft Baseline Security Analyzer (MBSA) tool. See the section, Detection and Deployment Tools and Guidance, earlier in this bulletin for more information.
 
• File Version Verification

Because there are several versions and editions of Microsoft Windows, the following steps may be different on your system. If they are, see your product documentation to complete these steps.

1.
 Click Start, and then click Search.
 
2.
 In the Search Results pane, click All files and folders under Search Companion.
 
3.
 In the All or part of the file name box, type a file name from the appropriate file information table, and then click Search.
 
4.
 In the list of files, right-click a file name from the appropriate file information table, and then click Properties.

Note Depending on the version of the operating system or programs installed, some of the files that are listed in the file information table may not be installed.
 
5.
 On the Version tab, determine the version of the file that is installed on your system by comparing it to the version that is documented in the appropriate file information table.

Note Attributes other than the file version may change during installation. Comparing other file attributes to the information in the file information table is not a supported method of verifying that the update has been applied. Also, in certain cases, files may be renamed during installation. If the file or version information is not present, use one of the other available methods to verify update installation.
 
 
• Registry Key Verification

You may also be able to verify the files that this security update has installed by reviewing the registry keys listed in the Reference Table in this section.

These registry keys may not contain a complete list of installed files. Also, these registry keys may not be created correctly when an administrator or an OEM integrates or slipstreams this security update into the Windows installation source files.
 

Top of section
Top of section
 Windows Server 2003 (all versions and editions) 

Reference Table

The following table contains the security update information for this software. You can find additional information in the subsection, Deployment Information, in this section.

Inclusion in Future Service Packs
 The update for this issue will be included in a future service pack or update rollup
 
Deployment
  
 
Installing without user intervention
 Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2:
Windowsserver2003-kb935840-x86-enu /quiet
 
 
 Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2:
Windowsserver2003-kb935840-x86-enu /quiet
 
 
 Windows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 with SP2 for Itanium-based Systems:
Windowsserver2003.windowsxp-kb935840-x64-enu /quiet
 
Installing without restarting
 Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2:
Windowsserver2003-kb935840-x86-enu /norestart
 
 
 Windows Server 2003 x64 Edition and Windows Server 2003 x64 Edition Service Pack 2:
Windowsserver2003-kb935840-x86-enu /norestart
 
 
 Windows Server 2003 with SP1 for Itanium-based Systems and Windows Server 2003 with SP2 for Itanium-based Systems:
Windowsserver2003.windowsxp-kb935840-x64-enu /norestart
 
Update log file
 KB935840.log
 
Further information
 See the subsection, Detection and Deployment Tools and Guidance
 
Restart Requirement
  
 
Restart required
 Yes, you must restart your system after you apply this security update
 
Hotpatching
 This security update does not support HotPatching. For more information about HotPatching, see Microsoft Knowledge Base Article 897341.
 
Removal Information
 Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2:
Use Add or Remove Programs tool in Control Panel or the Spuninst.exe utility located in the Use the Spuninst.exe utility, located in the %Windir%\$NTUninstallKB935840$\Spuninst folder
 
File Information
 See the subsection, File Information, below or Microsoft Knowledge Base Article 935840 for the full file manifest
 
Registry Key Verification
 For all supported and affected 32-bit versions, Itanium-based versions, and x64-based versions of Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows Server 2003\SP3\KB935840\Filelist
 
 File Information 

The English version of this security update has the file attributes that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

For all supported and affected 32-bit versions of Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2:

File Name Version Date Time Size CPU Folder 
schannel.dll
 5.2.3790.2924
 25-Apr-2007
 20:27
 144,384
 X86
 SP1GDR
 
schannel.dll
 5.2.3790.2924
 25-Apr-2007
 20:32
 144,384
 X86
 SP1QFE
 
schannel.dll
 5.2.3790.4068
 25-Apr-2007
 21:02
 146,944
 X86
 SP2GDR
 
schannel.dll
 5.2.3790.4068
 25-Apr-2007
 20:55
 146,944
 X86
 SP2QFE
 

For all supported and affected Itanium-based versions of Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2:

File Name Version Date Time Size CPU Folder 
schannel.dll
 5.2.3790.2924
 25-Apr-2007
 21:41
 465,408
 IA-64
 SP1GDR
 
wschannel.dll
 5.2.3790.2924
 25-Apr-2007
 21:41
 144,384
 X86
 SP1GDR\wow
 
schannel.dll
 5.2.3790.2924
 25-Apr-2007
 21:40
 465,408
 IA-64
 SP1QFE
 
wschannel.dll
 5.2.3790.2924
 25-Apr-2007
 21:40
 144,384
 X86
 SP1QFE\wow
 
schannel.dll
 5.2.3790.4068
 25-Apr-2007
 21:45
 465,408
 IA-64
 SP2GDR
 
wschannel.dll
 5.2.3790.4068
 25-Apr-2007
 21:45
 146,944
 X86
 SP2GDR\wow
 
schannel.dll
 5.2.3790.4068
 25-Apr-2007
 21:41
 465,408
 IA-64
 SP2QFE
 
wschannel.dll
 5.2.3790.4068
 25-Apr-2007
 21:41
 146,944
 X86
 SP2QFE\wow
 

For all supported and affected x64 versions of Windows Server 2003 Service Pack 1 and Windows Server 2003 Service Pack 2:

File Name Version Date Time Size CPU Folder 
schannel.dll
 5.2.3790.2924
 25-Apr-2007
 21:40
 253,952
 X64
 SP1GDR
 
wschannel.dll
 5.2.3790.2924
 25-Apr-2007
 21:40
 144,384
 X86
 SP1GDR\wow
 
schannel.dll
 5.2.3790.2924
 25-Apr-2007
 21:40
 253,952
 X64
 SP1QFE
 
wschannel.dll
 5.2.3790.2924
 25-Apr-2007
 21:40
 144,384
 X86
 SP1QFE\wow
 
schannel.dll
 5.2.3790.4068
 25-Apr-2007
 21:45
 253,952
 X64
 SP2GDR
 
wschannel.dll
 5.2.3790.4068
 25-Apr-2007
 21:45
 146,944
 X86
 SP2GDR\wow
 
schannel.dll
 5.2.3790.4068
 25-Apr-2007
 21:40
 253,952
 X64
 SP2QFE
 
wschannel.dll
 5.2.3790.4068
 25-Apr-2007
 21:40
 146,944
 X86
 SP2QFE\wow
 

Note For a complete list of supported versions, see the Support Lifecycle Index. For a complete list of service packs, see Lifecycle Supported Service Packs. For more information on the support lifecycle policy, see Microsoft Support Lifecycle.

Top of section
 Deployment Information 

Installing the Update

When you install this security update, the installer checks to see if one or more of the files that are being updated on your system have previously been updated by a Microsoft hotfix.

If you have previously installed a hotfix to update one of these files, the installer copies any applicable RTMQFE, SP1QFE, or SP2QFE files to your system. Otherwise, the installer copies the RTMGDR, SP1GDR, or SP2GDR files to your system. Security updates may not contain all variations of these files. For more information about this behavior, see Microsoft Knowledge Base Article 824994.

For more information about the Package Installer, visit the Microsoft TechNet Web site.

For more information about the terminology that appears in this bulletin, such as hotfix, see Microsoft Knowledge Base Article 824684.

This security update supports the following setup switches.

Supported Security Update Installation Switches 
Switch Description 
/help
 Displays the command-line options
 
Setup Modes   
/passive
 Unattended Setup mode. No user interaction is required, but installation status is displayed. If a restart is required at the end of Setup, a dialog box will be presented to the user with a timer warning that the system will restart in 30 seconds.
 
/quiet
 Quiet mode. This is the same as unattended mode, but no status or error messages are displayed.
 
Restart Options   
/norestart
 Does not restart when installation has completed
 
/forcerestart
 Restarts the system after installation and force other applications to close at shutdown without saving open files first.
 
/warnrestart[:x]
 Presents a dialog box with a timer warning the user that the system will restart in x seconds. (The default setting is 30 seconds.) Intended for use with the /quiet switch or the /passive switch.
 
/promptrestart
 Display a dialog box prompting the local user to allow a restart
 
Special Options   
/overwriteoem
 Overwrites OEM files without prompting
 
/nobackup
 Does not back up files needed for uninstall
 
/forceappsclose
 Forces other programs to close when the system shuts down
 
/log:path
 Allows the redirection of installation log files
 
/integrate:path
 Integrates the update into the Windows source files. These files are located at the path that is specified in the switch.
 
/extract[:path]
 Extracts files without starting the Setup program
 
/ER
 Enables extended error reporting
 
/verbose
 Enables verbose logging. During installation, creates %Windir%\CabBuild.log. This log details the files that are copied. Using this switch may cause the installation to proceed more slowly.
 

Note You can combine these switches into one command. For backward compatibility, the security update also supports many of the setup switches that the earlier version of the Setup program uses. For more information about the supported installation switches, see Microsoft Knowledge Base Article 262841. For more information about the Package Installer, visit the Microsoft TechNet Web site.

Restart Requirement

You must restart your system after you apply this security update.

Removing the Update

This security update supports the following setup switches.

Supported Spuninst.exe Switches 
Switch Description 
/help
 Displays the command-line options
 
Setup Modes   
/passive
 Unattended Setup mode. No user interaction is required, but installation status is displayed. If a restart is required at the end of Setup, a dialog box will be presented to the user with a timer warning that the system will restart in 30 seconds.
 
/quiet
 Quiet mode. This is the same as unattended mode, but no status or error messages are displayed.
 
Restart Options   
/norestart
 Does not restart when installation has completed
 
/forcerestart
 Restarts the system after installation and force other applications to close at shutdown without saving open files first.
 
/warnrestart[:x]
 Presents a dialog box with a timer warning the user that the system will restart in x seconds. (The default setting is 30 seconds.) Intended for use with the /quiet switch or the /passive switch.
 
/promptrestart
 Display a dialog box prompting the local user to allow a restart
 
Special Options   
/forceappsclose
 Forces other programs to close when the system shuts down
 
/log:path
 Allows the redirection of installation log files
 

Verifying that the Update Has Been Applied

• Microsoft Baseline Security Analyzer

To verify that a security update has been applied to an affected system, you may be able to use the Microsoft Baseline Security Analyzer (MBSA) tool. See the section, Detection and Deployment Tools and Guidance, earlier in this bulletin for more information.
 
• File Version Verification

Because there are several versions and editions of Microsoft Windows, the following steps may be different on your system. If they are, see your product documentation to complete these steps.

1.
 Click Start, and then click Search.
 
2.
 In the Search Results pane, click All files and folders under Search Companion.
 
3.
 In the All or part of the file name box, type a file name from the appropriate file information table, and then click Search.
 
4.
 In the list of files, right-click a file name from the appropriate file information table, and then click Properties.

Note Depending on the version of the operating system or programs installed, some of the files that are listed in the file information table may not be installed.
 
5.
 On the Version tab, determine the version of the file that is installed on your system by comparing it to the version that is documented in the appropriate file information table.

Note Attributes other than the file version may change during installation. Comparing other file attributes to the information in the file information table is not a supported method of verifying that the update has been applied. Also, in certain cases, files may be renamed during installation. If the file or version information is not present, use one of the other available methods to verify update installation.
 
 
• Registry Key Verification

You may also be able to verify the files that this security update has installed by reviewing the registry keys listed in the Reference Table in this section.

These registry keys may not contain a complete list of installed files. Also, these registry keys may not be created correctly when an administrator or an OEM integrates or slipstreams this security update into the Windows installation source files.
 

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

• Thomas Lim of COSEINC for reporting the Vulnerability in the Windows Schannel Security Package (CVE-2007-2218).
 

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 (June 12, 2007): Bulletin published.
 


[***** End Microsoft Security Bulletin (MS07-031) *****]
_______________________________________________________________________________

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)

R-261: Security Vulnerabilities in the Java Runtime Environment Image Parsing Code
R-262: CREDANT Mobile Guardian Shield Vulnerability
R-263: Security Vulnerability in the Logging Mechanism for Solaris Management Console (SMC)
R-264: Security Vulnerability in the Authentication Mechanism for Solaris Management Console (SMC)
R-265: HP Sysetm Management Homepage (SMH) Vulnerability
R-266: Security Vulnerability in How xscreensaver(1) Interacts with GNOME Assistive Technology
R-267: Security Notice for CA Products Implementing the Anti-Virus Engine
R-268: Vulnerability in Win 32 API (935839)
R-269: Cumulative Security Update for Outlook Express and Windows Mail (929123)
R-270: Cumulative Security Update for Internet Explorer (933566)