Ms IIS Virtual host ASP Source code leaks (MS, Bugs)

Source: Internet
Author: User
iis| virtual host involves programs:
MS Windows Nt/iis

Describe:
Shared directory causes ASP program source code to leak

With:
If the root directory of a virtual host is mapped to a network share directory, by adding some special characters after the ASP or HTR extension, the IIS server will reverse the ASP
Or htr all the source code for the file. If the IIS file is installed on a local drive, there is no problem with the leak source.

After adding a symbol "\" to the ASP file in the virtual directory file, IIS leaks the ASP file source code.
For example, if the virtual directory/asp/maps to the \\server1\share directory of the shared folder, an ASP program exists under the shared directory: \\serve1
\share\index.asp
Through: http://www.xxx.com/asp/index.asp or Telnet www.xxx.com 80
Get/asp/index.asp\ http/1.1

The source code for the index.asp will be returned.

At home, few people seem to map a web directory to a shared resource

Solution:
It is recommended that you do not create ASP sites in a shared resource way
Microsoft IIS 5.0 (Chinese version):

Microsoft Patch Q249599_W2K_SP1_X86_CN
Http://download.microsoft.com/download/win2000platform/Patch/Q249599/NT5/CN/Q249599_W2K_SP1_X86_cn.EXE


Microsoft IIS 5.0 (English version):
Microsoft Patch Q249599_w2k_sp1_x86_en
Http://download.microsoft.com/download/win2000platform/Patch/Q249599/NT5/EN-US/Q249599_W2K_SP1_X86_en.EXE

From:http://www.cnns.net/article/db/205.htm



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.