NT IIS ASP Alternate Data Streams Vulnerability
BID:149
Info
NT IIS ASP Alternate Data Streams Vulnerability
| Bugtraq ID: | 149 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jul 01 1998 12:00AM |
| Updated: | Jul 01 1998 12:00AM |
| Credit: | This vulnerability was posted to the NT Bugtraq Mailing list on June 30, 1998 by Paul Ashton <[email protected]> |
| Vulnerable: |
Microsoft Windows NT 4.0 Microsoft Personal Web Server 4.0 Microsoft Personal Web Server 3.0 Microsoft Personal Web Server 2.0 Microsoft IIS 4.0 Microsoft IIS 3.0 |
| Not Vulnerable: | |
Discussion
NT IIS ASP Alternate Data Streams Vulnerability
Microsoft IIS and other NT webservers contain a vulnerability that allows remote users to obtain the source code for an ASP file. When one appends ::$DATA to an asp being requested, the ASP source will be returned, instead of executing the ASP. For example: http://xyz/myasp.asp::$DATA will return the source of myasp.asp, instead of executing it.
Microsoft IIS and other NT webservers contain a vulnerability that allows remote users to obtain the source code for an ASP file. When one appends ::$DATA to an asp being requested, the ASP source will be returned, instead of executing the ASP. For example: http://xyz/myasp.asp::$DATA will return the source of myasp.asp, instead of executing it.
Exploit / POC
NT IIS ASP Alternate Data Streams Vulnerability
The following proof of concept was provided:
http://xyz/myasp.asp::$DATA
This will cause IIS to disclose the contents of the page, myasp.asp, to an attacker.
The following proof of concept was provided:
http://xyz/myasp.asp::$DATA
This will cause IIS to disclose the contents of the page, myasp.asp, to an attacker.
Solution / Fix
NT IIS ASP Alternate Data Streams Vulnerability
Solution:
It is strongly recommended that users of IIS upgrade to the latest version.
Patches for other vendors are available at their repsective web sites.
The following fixes are available:
Microsoft IIS 3.0
Microsoft IIS 4.0
Solution:
It is strongly recommended that users of IIS upgrade to the latest version.
Patches for other vendors are available at their repsective web sites.
The following fixes are available:
Microsoft IIS 3.0
-
Microsoft iis3fixa.exe
ftp://ftp.microsoft.com/bussys/iis/iis-public/fixes/usa/security/iis3- datafix/iis3fixa.exe -
Microsoft iis3fixi.exe
ftp://ftp.microsoft.com/bussys/iis/iis-public/fixes/usa/security/iis3- datafix/iis3fixi.exe
Microsoft IIS 4.0
-
Microsoft iis4fixa.exe
ftp://ftp.microsoft.com/bussys/iis/iis-public/fixes/usa/security/iis4- datafix/iis4fixa.exe -
Microsoft iis4fixi.exe
ftp://ftp.microsoft.com/bussys/iis/iis-public/fixes/usa/security/iis4- datafix/iis4fixi.exe
References
NT IIS ASP Alternate Data Streams Vulnerability
References:
References:
- ::$DATA fix for IIS (Cristoph Wille
) - Microsoft Security Bulletin (MS98-003) (Microsoft)