Since Scott's blog published the latest ASP. NET Vulnerability in September 18, friends in the garden have deeply analyzed and published someArticleFor example, the latest ASP. NET security vulnerabilities, the principles of padding Oracle attacks and other
This post is intended to translate Scott's latest update. We will release the updated information here for your reference.
Original article: http://weblogs.asp.net/scottgu/archive/2010/09/24/update-on-asp-net-vulnerability.aspx
Simplified Translation:
We are actively developing security updates to solve this problem. We are developing and testing a wider range of upgrades using the Windows Update channel. Once completed, we will immediately notify you.
Revised workaround and additional URLScan step
In the first blog, I mentioned that you can immediately apply a method to protect your sites and applications.ProgramNo such attacks. Today, we updated that method and provided additional steps. (Previous steps)
This step can be implemented on the server side, which takes less than five minutes.It is worth noting that this step does not replace the original method. You need to use the previous method first, which is applied after you implement those steps. The following is an implementation description.
Install and enable IIS URLScan with a custom rule
If you have not installed the IIS URLScan module on IIS, download and install it first. It takes only one minute.
Add an addition URL scan rule
After URLScan is installed, open and modify URLScan. ini.
- % Windir % \ system32 \ inetsrv \ URLScan. ini
At the bottom of URLScan. ini, you can find the [denyquerystringsequences] area. Add "aspxerrorpath =" to the region and save the file.
[Denyquerystringsequences] aspxerrorpath =
This function is used to disable the"Aspxerrorpath ="Query strings to access your ASP. NET application, and the Web server returns an HTTP Error.
After saving it, run "iisreset" (under the Administrator permission) to make it take effect. To check whether the query string is effective, you can use the URL that contains the query string to visit your site or application to see if an HTTP Error is sent from IIS.
Summary
If you have applied the previous step, add this step! You do not need to apply these steps when security updates are released, but you can learn more here.
- Microsoft Security Advisory 2416728 (updated 9/24)
- Understanding the ASP. NET Vulnerability
- My initial blog post
- My Frequently Asked Questions post
- SharePoint Team blog post
- Microsoft Security response center blog post
- Microsoft Security response center update post