Potential security vulnerability due to unvalidated variable in wizard and some sample sites
Article ID: 252614 - View products that this article applies to.
This article was previously published under Q252614
On some of the sample sites and on custom-built sites created by the Site Builder Wizard, a Request.Querystring variable is directly appended to a SQL statement. Because this variable is not validated, it is possible for additional text to be appended. If this were done, the SQL commands would be executed as part of the query and could be used to create, modify, delete, or read data in the database.
The sites and files effected by these affects are:
This problem is caused by code similar to the following (taken from the Product.asp file in the Volcano Coffee sample site):
Because Request("dept_id") is used by default, it is possible to modify a URL string of
The additional SQL statement could be something like a unioned select or another batched SQL command.
To resolve this problem, obtain the latest service pack for Site Server 3.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
219292For your convenience, the individual patch is available for download from the Microsoft Download Center:
(http://support.microsoft.com/kb/219292/EN-US/ )How to Obtain the Latest Site Server 3.0 Service Pack
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
Download Q252614.zip now
Collapse this imageExpand this image
119591Microsoft 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. The English version of this fix should have the following file attributes or later:
(http://support.microsoft.com/kb/119591/EN-US/ )How to Obtain Microsoft Support Files from Online Services
Date Time Size File name ----------------------------------- 2.2.2000 1:48 9,634 Product.asp 1.2.2000 4:19 13,948 Product.ast
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Site Server 3.0 Service Pack 4.
For more information on this vulnerability, see the following Microsoft Web site:
Article ID: 252614 - Last Review: June 9, 2006 - Revision: 2.2