Article ID: 890621 - View products that this article applies to.
A vulnerability in the Indexing Service could allow remote code execution. This vulnerability involves specially formed queries that are longer than 62 characters. Security update 871250 addresses this vulnerability. This article describes a technique that will help prevent an attacker from trying to exploit this vulnerability on computers that do not have security update 871250 applied.
The operating system software development kit (SDK) includes sample code (Query.asp) for querying the Indexing Service. Query.asp uses Microsoft Internet Information Services (IIS) and the Indexing Service's IXSSO query object. The lines in bold in the following example demonstrate additional code that can be added to Query.asp to limit query length. This additional code will help prevent attempts to exploit this vulnerability. You can update other operating system SDK sample query pages in a similar manner.
For additional information about security update 871250, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/871250/ )MS05-003: Vulnerability in the Indexing Service could allow remote code execution
Article ID: 890621 - Last Review: February 23, 2007 - Revision: 1.3