MS02-026: Unchecked buffer in ASP.NET worker process (English) (322289)



The information in this article applies to:

  • Microsoft ASP.NET (included with the .NET Framework) 1.0
  • Microsoft .NET Framework 1.0

This article was previously published under Q322289

SYMPTOMS

A buffer overrun vulnerability exists in Microsoft ASP.NET. An attacker who was able to successfully exploit this vulnerability could cause the application that is running on the Web server to restart. Additionally, although Microsoft has not been able to demonstrate it, an attacker could exploit this vulnerability to cause code to run on the Web server. The code could run in the security context of the ASP.NET worker process (Aspnet_wp.exe), which uses an unprivileged account by default.

This vulnerability affects only ASP.NET applications that use StateServer mode to manage session state information. StateServer mode is not the default mode. Finally, this vulnerability affects only those applications that use StateServer mode and that also use cookies. This vulnerability does not affect applications that use StateServer mode without cookies.

CAUSE

This vulnerability occurs because a function that processes cookie data in the ASPState service cannot properly check the length of the cookies that are passed to it.

RESOLUTION

Prerequisites

This update requires Microsoft .NET Framework Service Pack 1. For additional information about how to obtain the latest service pack for the .NET Framework, click the following article number to view the article in the Microsoft Knowledge Base:

318836 How to obtain the latest .NET Framework service pack

Download Information

For your convenience, this update is also available individually. To download the individual update for this problem, visit the following Microsoft Web site: Release Date: June 6, 2002

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

Installation Options

The following command-line command installs the update without any user intervention and does not force the computer to restart:

ndp10_qfem_q322289_en.exe /Q

Warning See installation issues below and note that your computer is vulnerable until you restart it.

Installation Issues

For additional information about installation issues with this security bulletin, click the following article number to view the article in the Microsoft Knowledge Base:

324292 Installation issues with silent install of Security Bulletin MS02-026

File Information

The following files are copied to the %WINDIR%\Microsoft.NET\Framework\v1.0.3705\ folder:
   Version       File Name
   -------------------------------
   1.0.3705.272  Aspnet_isapi.dll
   1.0.3705.272  Aspnet_wp.exe
   1.0.3705.272  Aspnet_regiis.exe
       --        Aspnet_perf.ini
       --        Aspnet_perf2.ini
   1.0.3705.272  System.Web.dll
				
The following files are copied to the %WINDIR%\Microsoft.NET\Framework\v1.0.3705\ASP.NETClientFiles\ folder:
   Version  File Name
   -----------------------
   --       SmartNavIE5.js
   --       SmartNav.js
				

STATUS

Microsoft has confirmed that this problem may cause a degree of security vulnerability in Microsoft ASP.NET. This problem was first corrected in Microsoft .NET Framework Service Pack 2 (SP2).

MORE INFORMATION

For more information about this vulnerability, visit the following Microsoft Web site: The localized patches for this vulnerability (MS02-026) have different Microsoft Knowledge Base (KB) numbers. The KB number and the corresponding language for each localized patch appear in the following table.
KB numberLanguage
322294French
322295Italian
322296Spanish
322299Simplified Chinese
322300Traditional Chinese
322301Korean

Modification Type:MajorLast Reviewed:8/15/2006
Keywords:kbbug kbfix kbNetFrame100PreSP2fix kbNetFrame100SP2fix KbSECBulletin KbSECHack kbSecurity KbSECVulnerability KB322289 kbAudDeveloper