Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:24752
HistorySep 16, 2010 - 12:00 a.m.

Microsoft Security Bulletin MS10-065 - Important Vulnerabilities in Microsoft Internet Information Services (IIS) Could Allow Remote Code Execution (2267960)

2010-09-1600:00:00
vulners.com
133

Microsoft Security Bulletin MS10-065 - Important
Vulnerabilities in Microsoft Internet Information Services (IIS) Could Allow Remote Code Execution (2267960)
Published: September 14, 2010

Version: 1.0
General Information
Executive Summary

This security update resolves two privately reported vulnerabilities and one publicly disclosed vulnerability in Internet Information Services (IIS). The most severe of these vulnerabilities could allow remote code execution if a client sends a specially crafted HTTP request to the server. An attacker who successfully exploited this vulnerability could take complete control of an affected system.

This security update is rated Important for IIS 5.1, IIS 6.0, IIS 7.0, and IIS 7.5. For more information, see the subsection, Affected and Non-Affected Software, in this section.

The security update addresses the vulnerabilities by modifying the way that IIS handles specially crafted HTTP requests. For more information about the vulnerabilities, see the Frequently Asked Questions (FAQ) subsection for the specific vulnerability entry under the next section, Vulnerability Information.

Recommendation. The majority of customers have automatic updating enabled and will not need to take any action because this security update will be downloaded and installed automatically. Customers who have not enabled automatic updating need to check for updates and install this update manually. For information about specific configuration options in automatic updating, see Microsoft Knowledge Base Article 294871.

For administrators and enterprise installations, or end users who want to install this security update manually, Microsoft recommends that customers apply the update at the earliest opportunity using update management software, or by checking for updates using the Microsoft Update service.

See also the section, Detection and Deployment Tools and Guidance, later in this bulletin.

Known Issues. Microsoft Knowledge Base Article 2267960 documents the currently known issues that customers may experience when installing this security update. The article also documents recommended solutions for these issues. When currently known issues and recommended solutions pertain only to specific releases of this software, this article provides links to further articles.
Top of sectionTop 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 Component Maximum Security Impact Aggregate Severity Rating Bulletins Replaced by this Update
Internet Information Services ASP

Windows XP Service Pack 3

Internet Information Services 5.1
(KB2124261)

Denial of Service

Important

None

Windows XP Professional x64 Edition Service Pack 2

Internet Information Services 6.0
(KB2124261)

Denial of Service

Important

MS08-006

Windows Server 2003 Service Pack 2

Internet Information Services 6.0
(KB2124261)

Denial of Service

Important

MS08-006

Windows Server 2003 x64 Edition Service Pack 2

Internet Information Services 6.0
(KB2124261)

Denial of Service

Important

MS08-006

Windows Server 2003 with SP2 for Itanium-based Systems

Internet Information Services 6.0
(KB2124261)

Denial of Service

Important

MS08-006

Windows Vista Service Pack 1 and Windows Vista Service Pack 2

Internet Information Services 7.0
(KB2124261)

Denial of Service

Important

None

Windows Vista x64 Edition Service Pack 1 and Windows Vista x64 Edition Service Pack 2

Internet Information Services 7.0
(KB2124261)

Denial of Service

Important

None

Windows Server 2008 for 32-bit Systems and Windows Server 2008 for 32-bit Systems Service Pack 2

Internet Information Services 7.0*
(KB2124261)

Denial of Service

Important

None

Windows Server 2008 for x64-based Systems and Windows Server 2008 for x64-based Systems Service Pack 2

Internet Information Services 7.0*
(KB2124261)

Denial of Service

Important

None

Windows Server 2008 for Itanium-based Systems and Windows Server 2008 for Itanium-based Systems Service Pack 2

Internet Information Services 7.0
(KB2124261)

Denial of Service

Important

None

Windows 7 for 32-bit Systems

Internet Information Services 7.5
(KB2124261)

Denial of Service

Important

None

Windows 7 for x64-based Systems

Internet Information Services 7.5
(KB2124261)

Denial of Service

Important

None

Windows Server 2008 R2 for x64-based Systems

Internet Information Services 7.5*
(KB2124261)

Denial of Service

Important

None

Windows Server 2008 R2 for Itanium-based Systems

Internet Information Services 7.5
(KB2124261)

Denial of Service

Important

None
Internet Information Services FastCGI

Windows 7 for 32-bit Systems

Internet Information Services 7.5
(KB2271195)

Remote Code Execution

Important

None

Windows 7 for x64-based Systems

Internet Information Services 7.5
(KB2271195)

Remote Code Execution

Important

None

Windows Server 2008 R2 for x64-based Systems

Internet Information Services 7.5*
(KB2271195)

Remote Code Execution

Important

None

Windows Server 2008 R2 for Itanium-based Systems

Internet Information Services 7.5
(KB2271195)

Remote Code Execution

Important

None
Internet Information Services Authentication

Windows XP Service Pack 3

Internet Information Services 5.1
(KB2290570)

Elevation of Privilege

Important

None

*Server Core installation affected. This update applies, with the same severity rating, to supported editions of Windows Server 2008 or Windows Server 2008 R2 as indicated, whether or not installed using the Server Core installation option. For more information on this installation option, see the TechNet articles, Managing a Server Core Installation and Servicing a Server Core Installation. Note that the Server Core installation option does not apply to certain editions of Windows Server 2008 and Windows Server 2008 R2; see Compare Server Core Installation Options.
Top of sectionTop of section

Frequently Asked Questions (FAQ) Related to This Security Update

Why are there three separate updates for this bulletin?
There are three separate updates due to the discrepancy in affected products for each vulnerability addressed in this bulletin. Please refer to the Affected Software table to determine which updates apply to your Web server.

Where are the file information details?
Refer to the reference tables in the Security Update Deployment section for the location of the file information details.

Why does this update address several reported security vulnerabilities?
This update contains support for several vulnerabilities because the modifications that are required to address these issues are located in related files. Instead of having to install several updates that are almost the same, customers need to install this update only.

I am using an older release of the software discussed in this security bulletin. What should I do?
The affected software listed in this bulletin have been tested to determine which releases are affected. Other releases are past their support life cycle. For more information about the product lifecycle, visit the Microsoft Support Lifecycle Web site.

It should be a priority for customers who have older releases of the software to migrate to supported releases to prevent potential exposure to vulnerabilities. To determine the support lifecycle for your software release, see Select a Product for Lifecycle Information. For more information about service packs for these software releases, see Lifecycle Supported Service Packs.

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 in the Contact Information list, 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 Microsoft Support Lifecycle Policy FAQ.
Top of sectionTop of section
Vulnerability Information

Severity Ratings and Vulnerability Identifiers

The following severity ratings assume the potential maximum impact of the vulnerability. For information regarding the likelihood, within 30 days of this security bulletin's release, of the exploitability of the vulnerability in relation to its severity rating and security impact, please see the Exploitability Index in the September bulletin summary. For more information, see Microsoft Exploitability Index.
Vulnerability Severity Rating and Maximum Security Impact by Affected Software
Affected Software IIS Repeated Parameter Request Denial of Service Vulnerability - CVE-2010-1899 Request Header Buffer Overflow Vulnerability - CVE-2010-2730 Directory Authentication Bypass Vulnerability - CVE-2010-2731 Aggregate Severity Rating
Internet Information Services ASP

Internet Information Services 5.1 on Windows XP Service Pack 3
(KB2124261)

Important
Denial of Service

Not applicable

Not applicable

Important

Internet Information Services 6.0 on Windows XP Professional x64 Edition Service Pack 2
(KB2124261)

Important
Denial of Service

Not applicable

Not applicable

Important

Internet Information Services 6.0 on Windows Server 2003 Service Pack 2
(KB2124261)

Important
Denial of Service

Not applicable

Not applicable

Important

Internet Information Services 6.0 on Windows Server 2003 x64 Edition Service Pack 2
(KB2124261)

Important
Denial of Service

Not applicable

Not applicable

Important

Internet Information Services 6.0 on Windows Server 2003 with SP2 for Itanium-based Systems
(KB2124261)

Important
Denial of Service

Not applicable

Not applicable

Important

Internet Information Services 7.0 on Windows Vista Service Pack 1 and Windows Vista Service Pack 2
(KB2124261)

Important
Denial of Service

Not applicable

Not applicable

Important

Internet Information Services 7.0 on Windows Vista x64 Edition Service Pack 1 and Windows Vista x64 Edition Service Pack 2
(KB2124261)

Important
Denial of Service

Not applicable

Not applicable

Important

Internet Information Services 7.0 on Windows Server 2008 for 32-bit Systems and Windows Server 2008 for 32-bit Systems Service Pack 2*
(KB2124261)

Important
Denial of Service

Not applicable

Not applicable

Important

Internet Information Services 7.0 on Windows Server 2008 for x64-based Systems and Windows Server 2008 for x64-based Systems Service Pack 2*
(KB2124261)

Important
Denial of Service

Not applicable

Not applicable

Important

Internet Information Services 7.0 on Windows Server 2008 for Itanium-based Systems and Windows Server 2008 for Itanium-based Systems Service Pack 2
(KB2124261)

Important
Denial of Service

Not applicable

Not applicable

Important

Internet Information Services 7.5 on Windows 7 for 32-bit Systems
(KB2124261)

Important
Denial of Service

Not applicable

Not applicable

Important

Internet Information Services 7.5 on Windows 7 for x64-based Systems
(KB2124261)

Important
Denial of Service

Not applicable

Not applicable

Important

Internet Information Services 7.5 on Windows Server 2008 R2 for x64-based Systems*
(KB2124261)

Important
Denial of Service

Not applicable

Not applicable

Important

Internet Information Services 7.5 on Windows Server 2008 R2 for Itanium-based Systems
(KB2124261)

Important
Denial of Service

Not applicable

Not applicable

Important
Internet Information Services FastCGI

Internet Information Services 7.5 on Windows 7 for 32-bit Systems
(KB2271195)

Not applicable

Important
Remote Code Execution

Not applicable

Important

Internet Information Services 7.5 on Windows 7 for x64-based Systems
(KB2271195)

Not applicable

Important
Remote Code Execution

Not applicable

Important

Internet Information Services 7.5 on Windows Server 2008 R2 for x64-based Systems*
(KB2271195)

Not applicable

Important
Remote Code Execution

Not applicable

Important

Internet Information Services 7.5 on Windows Server 2008 R2 for Itanium-based Systems
(KB2271195)

Not applicable

Important
Remote Code Execution

Not applicable

Important
Internet Information Services Authentication

Internet Information Services 5.1 on Windows XP Service Pack 3
(KB2290570)

Not applicable

Not applicable

Important
Elevation of Privilege

Important

*Server Core installation affected. This update applies, with the same severity rating, to supported editions of Windows Server 2008 or Windows Server 2008 R2 as indicated, whether or not installed using the Server Core installation option. For more information on this installation option, see the TechNet articles, Managing a Server Core Installation and Servicing a Server Core Installation. Note that the Server Core installation option does not apply to certain editions of Windows Server 2008 and Windows Server 2008 R2; see Compare Server Core Installation Options.
Top of sectionTop of section

IIS Repeated Parameter Request Denial of Service Vulnerability - CVE-2010-1899

A denial of service vulnerability exists in Internet Information Services (IIS) that could allow an attacker who successfully exploited this vulnerability to interrupt service, causing the server to become un-responsive. An attacker could exploit the vulnerability by sending specially crafted URL requests to active server pages on a Web site hosted by IIS.

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

Mitigating Factors for IIS Repeated Parameter Request Denial of Service Vulnerability - CVE-2010-1899

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:

ASP pages are prohibited by default on IIS 6.0.

The vulnerability is only exploitable when the ASP script writes parameters from the request in the response.
Top of sectionTop of section

Workarounds for IIS Repeated Parameter Request Denial of Service Vulnerability - CVE-2010-1899

Workaround refers to a setting or configuration change that does not correct the underlying vulnerability but would help block known attack vectors before you apply the update. Microsoft has tested the following workarounds and states in the discussion whether a workaround reduces functionality:

Temporarily disable ASP on the IIS server

Change the status for ASP from ALLOWED to PROHIBITED in the IIS manager.

For Windows XP and Windows Server 2003

Run inetmgr.exe to launch IIS Manager.

Select Web Service Extensions node under the server name in the left pane.

Right-click Active Server Pages in the right pane and select Prohibit.

For Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2

Run inetmgr.exe to launch IIS Manager.

Select the server node in the left pane.

Select Handler Mappings in the right pane and double-click AspClassic.

Click Request Restrictions, select the Access tab, and click None.

Click OK and then click No to disallow the ISAPI extension.

Impact of workaround. ASP pages will no longer work.

How to undo the workaround.

Change the status for ASP from PROHIBITED to ALLOWED in the IIS manager.

For Windows XP and Windows Server 2003

Run inetmgr.exe to launch IIS Manager.

Select Web Service Extensions node under the server name in the left pane.

Right-click Active Server Pages in the right pane and select Allow.

For Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2

Run inetmgr.exe to launch IIS Manager.

Select the server node in the left pane.

Select Handler Mappings in the right pane and double-click AspClassic.

Click Request Restrictions, select the Access tab, and click Script.

Click OK and then click No to disallow the ISAPI extension.
Top of sectionTop of section

FAQ for IIS Repeated Parameter Request Denial of Service Vulnerability - CVE-2010-1899

What is the scope of the vulnerability?
This is a denial of service vulnerability. If an attacker sends a specially crafted request to a Web server, the server could become unresponsive. The vulnerability does not cause the server to fail or cause any data to be lost, and the server would eventually resume normal operation with a service reset.

What causes the vulnerability?
This denial of service vulnerability is caused by a stack overflow in the ASP script processing code.

What might an attacker use the vulnerability to do?
This is a denial of service vulnerability. An attacker who exploited this vulnerability could cause the affected system to stop responding and automatically restart. During that time, the server would be unable to respond to requests. If the attacker causes the service to restart five times, the service will then fail to restart without administrator interaction. Note that the denial of service vulnerability would not allow an attacker to execute code or to elevate their user rights, but it could cause the affected service to stop accepting requests.

How could an attacker exploit the vulnerability?
An attacker could send specially crafted URL requests to a Web site hosting .asp pages to exploit this denial of service vulnerability.

What systems are primarily at risk from the vulnerability?
All systems running Microsoft Internet Information Services could be affected by this vulnerability.

What does the update do?
This update modifies the way that IIS and asp.dll handle specially crafted HTTP requests.

When this security bulletin was issued, had this vulnerability been publicly disclosed?
No. Microsoft received information about this vulnerability through coordinated vulnerability 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 when this security bulletin was originally issued.
Top of sectionTop of section
Top of sectionTop of section

Request Header Buffer Overflow Vulnerability - CVE-2010-2730

A remote code execution vulnerability exists in Internet Information Services (IIS) that an attacker could exploit by sending specially crafted HTTP requests to IIS servers with FastCGI enabled.

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

Mitigating Factors for Request Header Buffer Overflow Vulnerability - CVE-2010-2730

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:

FastCGI is not enabled by default in IIS.
Top of sectionTop of section

Workarounds for Request Header Buffer Overflow Vulnerability - CVE-2010-2730

Workaround refers to a setting or configuration change that does not correct the underlying vulnerability but would help block known attack vectors before you apply the update. Microsoft has tested the following workarounds and states in the discussion whether a workaround reduces functionality:

Disable FastCGI

Launch the Server Manager and edit the Roles.

Deselect the CGI check box and click Next.

Impact of workaround. Modules that depend on FastCGI will no longer work.

How to undo the workaround.

Launch the Server Manager and add the CGI feature under Web Server.

Install the URL Rewrite module

You are protected when this module is installed, whether or not you are using it. For information on URL Rewrite, see URL Rewrite.
Top of sectionTop of section

FAQ for Request Header Buffer Overflow Vulnerability - CVE-2010-2730

What is the scope of the vulnerability?
This is a remote code execution vulnerability. A remote attacker who successfully exploited this vulnerability could then perform actions on the IIS server with the same rights as the Worker Process Identity (WPI). This identity is configured to be a virtual application pool identity on Windows 7 and Windows Server 2008 R2.

What causes the vulnerability?
This vulnerability is caused by the way that IIS servers with FastCGI enabled handle request headers.

What is FastCGI?
FastCGI for IIS enables popular application frameworks that support the FastCGI protocol to be hosted on the IIS Web server in a high-performance and reliable way. FastCGI provides a high-performance alternative to the Common Gateway Interface (CGI), a standard way of interfacing external applications with Web servers that has been supported as part of the IIS feature-set since the very first release.

What might an attacker use the vulnerability to do?
An attacker who successfully exploited this vulnerability could take complete control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights.

How could an attacker exploit the vulnerability?
A remote code execution vulnerability exists in the way that IIS handles request headers to IIS servers with FastCGI enabled. An attacker could exploit this vulnerability by creating a specially crafted HTTP request.

What systems are primarily at risk from the vulnerability?
Web servers with FastCGI enabled that host content.

What does the update do?
This update modifies the way that IIS servers with FastCGI enabled handle request headers.

When this security bulletin was issued, had this vulnerability been publicly disclosed?
No. Microsoft received information about this vulnerability through coordinated vulnerability 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 when this security bulletin was originally issued.
Top of sectionTop of section
Top of sectionTop of section

Directory Authentication Bypass Vulnerability - CVE-2010-2731

An elevation of privilege vulnerability exists in Internet Information Services (IIS). An attacker who successfully exploited this vulnerability could bypass the need to authenticate to access restricted resources.

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

Mitigating Factors for Directory Authentication Bypass Vulnerability - CVE-2010-2731

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:

Sites that are not using authentication are not vulnerable to this. There is no elevation of privilege attack vector for sites with only anonymous authentication.
Top of sectionTop of section

Workarounds for Directory Authentication Bypass Vulnerability - CVE-2010-2731

Workaround refers to a setting or configuration change that does not correct the underlying vulnerability but would help block known attack vectors before you apply the update. Microsoft has tested the following workarounds and states in the discussion whether a workaround reduces functionality:

Install and Use URLScan

URLScan will help protect against a large number of issues stemming from improperly formed URL requests including the publicly described issues addressed by this bulletin. URLScan does not protect your system as comprehensively as either the mitigation code module or the global.asax script below. For information on URLScan, see the TechNet article, UrlScan Security Tool.
Top of sectionTop of section

FAQ for Directory Authentication Bypass Vulnerability - CVE-2010-2731

What is the scope of the vulnerability?
This is an elevation of privilege vulnerability. An attacker could send a specially crafted request to a URL that requires authentication to bypass authentication and execute ASP script to which the attacker should not have access.

What causes the vulnerability?
This vulnerability is caused by the way that IIS parses specially crafted URLs.

Does SSL help mitigate this vulnerability?
This is a directory bypass vulnerability. Secure Sockets Layer (SSL) does not help mitigate this vulnerability.

What might an attacker use the vulnerability to do?
An attacker could use this vulnerability to bypass directory-based basic authentication and access and to execute resources that should require authentication.

How could an attacker exploit the vulnerability?
An attacker could send a specially crafted URL to bypass directory-based basic authentication.

What systems are primarily at risk from the vulnerability?
Web services using basic authentication are at risk from the vulnerability.

What does the update do?
This update modifies the way that IIS handles specially crafted requests to prevent unauthenticated users from accessing resources hosted on the IIS server that should require authentication.

When this security bulletin was issued, had this vulnerability been publicly disclosed?
Yes. This vulnerability has been publicly disclosed. It has been assigned Common Vulnerability and Exposure number CVE-2010-2731.

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 when this security bulletin was originally issued.

Other Information
Acknowledgments

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

Jinsik Shim for reporting the IIS Repeated Parameter Request Denial of Service Vulnerability (CVE-2010-1899)

Travis Raybold of Rubicon West for reporting the Request Header Buffer Overflow Vulnerability (CVE-2010-2730)
Top of sectionTop of section
Microsoft Active Protections Program (MAPP)

To improve security protections for customers, Microsoft provides vulnerability information to major security software providers in advance of each monthly security update release. Security software providers can then use this vulnerability information to provide updated protections to customers via their security software or devices, such as antivirus, network-based intrusion detection systems, or host-based intrusion prevention systems. To determine whether active protections are available from security software providers, please visit the active protections Web sites provided by program partners, listed in Microsoft Active Protections Program (MAPP) Partners.

Support

Customers in the U.S. and Canada can receive technical support from Security Support or 1-866-PCSAFETY. There is no charge for support calls that are associated with security updates. For more information about available support options, see Microsoft Help and Support.

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.

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.

Revisions

V1.0 (September 14, 2010): Bulletin published.