????? HTTP ??????? ?????? ?? ?????? ??????? ?????? ?? ASP.NET

?????? ????????? ?????? ?????????
???? ???????: 887289 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

??????? ??????? ?? ????? ????????? ASP.NET Microsoft ??? ?????? ???? ????? HTTP ????? ???? ???? ??????? ???? ?????????. ?????? ??? ??????? ??????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
887459 ??????? ???? ?????? ??????? ?????? ?? ASP.NET
?????? ??? ??????? ?????? ??? ????? ????? ??????? ?? ASP.NET ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
318785 ????? ?? ??? ??? ?? ?? ????? ??? ?????? ??? ?????? .NET Framework

???????

????? ????? ???? ??? ????, ????? ?????? ????? ??? ???? ???? ????? ???? ???? ?????????. ??? ????? ??????? ???? ?????? ?? ????? ????? ???? ???? ????? URL ????? ???? ?? ?????? ??????? ??? ?????. ???? ?? ???? ?????? ??????? ?? ??? ??????? ??? ????? ??? ??????. ????? ?? ????????? ??? ??????? ?? ?????? ???? Microsoft ?????? ??? ?????:
http://msdn2.microsoft.com/en-us/library/aa302420.aspx

????

Microsoft.Web.ValidatePathModule.dll - ???? HTTP ???????

????? ???????

????? ????? ?????? ??????? ?? "???? ??????? ?? Microsoft":

?? ??? ??????????? ??? ??????
Download
Download the VPModule.msi package now.

????? ???????: ? 7 ?????? 2004

?????? ??? ??????? ?????? ??? ????? ????? ????? ??? Microsoft "? ???? ??? ??? ??????? ?????? ?????? ??" ????? ??????? ?? Microsoft:
119591????? ?????? ??? ????? ??? Microsoft ?? ??????? ??? ??????
???? Microsoft ???? ??? ????? ????? ?? ?????????. ??????? Microsoft ???? ?? ?????? ??? ??????? ??????? ??? ??????? ???? ?? ??? ?????. ??? ????? ????? ??? ?????? ????? ?????? ???? ????? ??? ??? ????? ??? ??????? ??? ???? ??? ??? ?????.

????????? ????????

?? ????? ??? VPModule.msi 32-?? Microsoft .NET Framework.

??? ????? ??? VPModule.msi ?????? ???? ???????? ???? ?????? ????? Machine.config ??? ???? ?????????. ?????? ???? ???????? ?? ????? Machine.config ???? ??????? ???????:
  1. ???? ??? ???? ?? ???? ??? ????? ????? cmd ?? ???? ??? ?????.
  2. ??? ???? ?? ???? ?? ????? Machine.config. ????? Machine.config ?? ??????? ???????? ?? ?????? ??????? ??? <framework version number> ?? ????? Microsoft .NET Framework ???? ?? ???????:
    ??? ??????? %windir%\Microsoft.NET\Framework\<framework > \CONFIG
    ??? ???? ??????? ?? ???? ????? .NET Framework 1.1 ??? ???? ??????? C? ???? ????? ?????? ?? ?? ???? ????? ??????? ENTER:
    cd /d %windir%\microsoft.net\framework\v1.1.4322\config
  3. ???? ????? ?????? ?????? ???? ???????? ?? ????? Machine.config ?? ???? ????? ??????? ENTER:
    machine.config.bak machine.config ????
??? ??? ??????? ??? ???? ?? .NET Framework ??????? ??? ?????? ????? ??.

??????? ???????

????? Microsoft ???? ????? ???? VPModule.msi. ????? ??? VPModule.msi ????? Microsoft.Web.ValidatePathModule.dll ??? ?????? ????? ??. ????? ??????? ????? Machine.config ?? ????? ???????? ????? ???? ?????? ????? HTTP ??? ???? ????????? ??????? ?? .NET Framework.

???????? ???? ??????? ????? ??? VPModule.msi ? ???? ????? ??????? ??? ?????? ???? ??????? ?? ???? ??????? ???????.

??? VPModule.msi ??

?????? ????? ??????? ??? ????? Microsoft.Web.ValidatePathModule.dll. ?????? ?? ???? ?????? ???? ????? Machine.config ???????? ??? ?????? ???? ???? ??????? ????? ???? ??????:
    <system.web>
        <httpModules>
            <add name="ValidatePathModule" type="Microsoft.Web.ValidatePathModule, Microsoft.Web.ValidatePathModule, Version=1.0.0.0, Culture=neutral, PublicKeyToken=eba19824f86fdadd"/>
        </httpModules>
    </system.web>
?????? ?? ???? ?????? ??? Microsoft.Web.ValidatePathModule.dll ??? ????? ??????? ??????? ??????? ??????? (GAC).

????? ???????? ????? ?????? ?? ??? ?? ??? Microsoft.Web.ValidatePathModule.dll ???? ??????? ????????? ???????? ?????? ?????: ????? ?????
namespace Microsoft.Web {
    public class ValidatePathModule : IHttpModule {
        public ValidatePathModule() {
        }
        void IHttpModule.Init(HttpApplication app) {
            app.BeginRequest += new EventHandler(this.OnBeginRequest);
        }
        void IHttpModule.Dispose() {
        }
        void OnBeginRequest(Object source, EventArgs eventArgs) {
            HttpRequest request = (source as HttpApplication).Request;
            string physicalPath = request.PhysicalPath;
            if (request.Path.IndexOf('\\') >= 0 || Path.GetFullPath(physicalPath) != physicalPath) {
                throw new HttpException(404, "Not Found");
            }
        }
    }
}
?????? ??? ??????? ??? ???? ????? ??? ??????? ???? ???? ????????? ?? ????? ?????? ??????? ?? ?????? ???? Microsoft ?????? ??? ?????:
http://msdn2.microsoft.com/en-us/library/aa367988.aspx

??????? ?????? ?? ??? ???????

??? ????? ?????? ??????? ???? ???? ???? ????? ??????? ??????:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{30EFFF0C-573D-46FB-8AD5-00887289261A}
?????? ????? ??????? ??? ??? ????? ??? ?????? ?? ???? ????? ???? HTTP ??????? ?????? ??? ?? ???? ?? ????? "??????? ??????? ??????". ?????? & /a ??????? ????? ???. ??? ????? ???????.

??????? ???????

?????? ??? ????????? ????? ??? VPModule.msi ?? ??? ?????? "?????". ????? ?? ???? ?????? ?????/????? ??????? ?? "???? ??????".

????????? ??? ???????

?????? ????? ?????? ?????? ??? ????????? ?? ????? ??? ???????:
msiexec /i vpmodule.msi /qb-
?????? ????? ?????? ?????? ??? ????????? ?? ??? ??? ?????:
msiexec /x vpmodule.msi /qb-

??????? ??????? ??????

?????? ???? HTTP ??????? ??????? ???? ??????? ???????:
  1. ????? ??? ??????? ????? Machine.config ?? ???????. ????? ?? ????????? ??? ????? ?????? ????? ???? ??? "????????? ???????".
  2. ?? ?????? ??????. ????? ?? ????????? ??? ????? ?????? ????? ???? ??? "??????? ???????".
  3. ?????? ????? ?????? ???????? ????? Microsoft.Web.ValidatePathModule.dll ?? ??? VPModule.msi ??? ???? ?? ???????:
    msiexec /a vpmodule.msi
  4. ?????? ????? ?????? ???? ?????? ??????? GAC:
    gacutil -i microsoft.web.validatepathmodule.dll
    ?????? ??? ??????? ?????? ??????? ??? ???? ???? ???? "?????? ??????? ValidatePath Microsoft" ???? ??? ?????? ??????.
  5. ????? ????? Machine.config ?? ??????? ??? ????? ??????? ?????? ??? ?????? <httpmodules>:
    <add name="ValidatePathModule" type="Microsoft.Web.ValidatePathModule, Microsoft.Web.ValidatePathModule, Version=1.0.0.0, Culture=neutral, PublicKeyToken=eba19824f86fdadd"/>
    

???????? ????????

??????? ???? ????????:
  • ???? ?????? ??????? ?? ?? ????? Machine.config ?? ??????? ????? ????? ?? ????? <httpmodule>???? Microsoft.Web.ValidatePathModule.dll. ??? ???? ??? ???? ????? ??? ?? ?? ????? ?????? ?????? ????.

    ?? ???? ??? ??????? ?? ???? ???? ??? Web.config ??? ??????? ???? ??? ??????? ??? ????? Machine.config ??? ??? Web.config. ??? ???? ??????? ?? ????? ????? ?????? ??? ??? ?? ??? Web.config ??? ??????:
    <httpModules>
        <clear/>
    </httpModules>
    
    ???? ??? ??????? ????? ?? ??? ??????? ????? ?????? ??????? ????? ??????. ??? ??????? ???? ????? ???? ????? ?? ???? ??? ??????? ??????? ??????? ??????? HTTP ???? ??? ??????? ??? ????? Machine.config ???? ????? ?? ???? ??? ??????? ?????? ????? ????? ???? ??????? ??????.
  • ??? ??? ?????? ????? ????? ?? ?????? .NET Framework ??? ????? ????? ?? ?? ?????? ????? ????? VPModule.msi.
  • ?????? ??? ??????? ?????? ??? ???????? ???? ???? ?? ????? ????? SQL Server ? VPModule.msi ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
    887787?? ???? ????? ??? ?? "????? ????????" ??? ????? "?????? ???????" ?? ASP.NET ValidatePath

?????

?????? ??? ??????? ??????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
887405????? ??????? Windows Installer ???? ???????? ???? VPModule.msi ?? ???? "Active Directory"
?????? ??? ??????? ??????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
887404????? ??????? Systems Management Server 2003 ???? ?????? ??????? ValidatePath
?????? ??? ??????? ??????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
887290????? ??????? ASP.NET ValidatePath ?????? ??????? (VPModuleScanner.js)
????? ?? ????????? ??? ????? ???? ????? ?? ?????? ???? Microsoft ?????? ??? ?????:
http://msdn2.microsoft.com/en-us/library/87069683(vs.71).aspx

???????

???? ???????: 887289 - ????? ??? ??????: 23/?? ??????/1428 - ??????: 3.9
????? ???
  • Microsoft ASP.NET 1.0
  • Microsoft ASP.NET 1.1
  • Microsoft .NET Framework 1.0
  • Microsoft .NET Framework 1.0 Service Pack 1
  • Microsoft .NET Framework 1.0 Service Pack 2
  • Microsoft .NET Framework 1.0 Service Pack 3
  • Microsoft .NET Framework 1.1
  • Microsoft .NET Framework 1.1 Service Pack 1
  • Microsoft .NET Framework Software Development Kit 1.0 Service Pack 2
  • Microsoft .NET Framework Software Development Kit 1.0 Service Pack 1
  • Microsoft .NET Framework Software Development Kit 1.0 Service Pack 2
????? ??????: 
kbmt kbsecurity kbtshoot KB887289 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????887289

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com