NT IIS ASP VBScript Runtime Error Viewable Source Vulnerability
BID:978
Info
NT IIS ASP VBScript Runtime Error Viewable Source Vulnerability
| Bugtraq ID: | 978 |
| Class: | Design Error |
| CVE: | |
| Remote: | Yes |
| Local: | Yes |
| Published: | Feb 09 2000 12:00AM |
| Updated: | Feb 09 2000 12:00AM |
| Credit: | This was emailed to [email protected] on February 9 2000 by Jerry Walsh <[email protected]>. |
| Vulnerable: |
Microsoft IIS 5.0 Microsoft IIS 4.0 Microsoft IIS 3.0 |
| Not Vulnerable: | |
Discussion
NT IIS ASP VBScript Runtime Error Viewable Source Vulnerability
Active Server Pages that have errors in them or in their components can cause error messages to be served to the browser that include path information for included files used in the creation of the .asp file. These files can then be downloaded and may include sensitive information such as resource locations, website and network structure, and business models.
In some instances, these faulty .asp pages are indexed by search engines, and it is possible for an attacker to do a search for strings like 'Microsoft VBScript runtime error' to find these pages. Even after the ASP code is fixed, it is possible in some cases to view archived copies of the relevant text from the search engine's cache and therefore retreive the required information.
Note that properly implemented and audited ASP will not exhibit this behavior.
Active Server Pages that have errors in them or in their components can cause error messages to be served to the browser that include path information for included files used in the creation of the .asp file. These files can then be downloaded and may include sensitive information such as resource locations, website and network structure, and business models.
In some instances, these faulty .asp pages are indexed by search engines, and it is possible for an attacker to do a search for strings like 'Microsoft VBScript runtime error' to find these pages. Even after the ASP code is fixed, it is possible in some cases to view archived copies of the relevant text from the search engine's cache and therefore retreive the required information.
Note that properly implemented and audited ASP will not exhibit this behavior.
Exploit / POC
NT IIS ASP VBScript Runtime Error Viewable Source Vulnerability
Find the path of included files in the error message.
Example: "Microsoft VBScript runtime error '800a0005' Invalid procedure call or argument: 'mid' /common/browser.inc, line 4..."
Append the included filname and path to the URL.
Example:
http ://target/common/browser.inc
Find the path of included files in the error message.
Example: "Microsoft VBScript runtime error '800a0005' Invalid procedure call or argument: 'mid' /common/browser.inc, line 4..."
Append the included filname and path to the URL.
Example:
http ://target/common/browser.inc
References
NT IIS ASP VBScript Runtime Error Viewable Source Vulnerability
References:
References: