ASP Vulnerability Analysis and resolution (8)

Source: Internet
Author: User
Tags include
Resolve 19, ASP home page. inc File Leak problem

Vulnerability Description:
Affected version: Any system that provides ASP services
Remote: Yes/Local: Yes

Content Summary:
When an ASP's home page is being made and not finished debugging, it can be added as a search object by some search engine maneuver if someone uses the search
The engine searches these pages, gets the location of the files, and sees the details of the database location and structure in the browser to reveal the complete source code.
The specific procedure is:
-Use search engine to find included + "Microsoft VBScript run-time Error Execution Search" + ". Inc," keyword
-Search engine will automatically find included files containing ASP (. inc) and display to the user
-Use the browser to view the source code of the containing file, which may have some sensitive information

Exploit the vulnerability:
Example:
-Http://shopping.altavista.com/inc/lib/prep.lib
Exposing database connectivity and nature, resource location, cookie logic, server IP address
-Http://www.justshop.com/SFLib/ship.inc
Exposing the nature of the database
-Http://www.bbclub.com:8013/includes/general.inc
Exposure cobranding
-Http://www.salest.com/corporate/admin/include/jobs.inc
Exposure to datafile locations and structures
-Http://www.bjsbabes.com/SFLib/design.inc
including database structure for storefront 2000 exposure source code
-Http://www.ffg.com/scripts/IsSearchEngine.inc
Expose search engine record files
-Http://www.wcastl.com/include/functions.inc
Exposing member e-mail addresses
-Http://www.wcastl.com/flat/comments.txt
Exposing members to private note files
-Http://www.traveler.net/two/cookies.inc
Exposing cookie Logic

Solution:
-Search engines should not index pages with ASP run-time errors
-Programmers should thoroughly debug a Web page before it is released
-Security experts need to fix ASP include files so that external users cannot see them
ASP newsgroups, sites offer two solutions to fix this vulnerability by first encrypting the. inc file content, and second, by using the. asp file generation
The. inc file makes it impossible for the user to view the source code of the file directly from the browser. The file name of the. inc file does not use the system default or has special meaning that is easily guessed by the user
When measured, try to use the English alphabet without rules.



Related Article

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.