Microsoft IIS 3.0/4.0 / Microsoft Personal Web Server 2.0/3.0/4.0 - ASP Alternate Data Streams

Author: Paul Ashton
type: remote
platform: multiple
port: 
date_added: 1998-01-01  
date_updated: 2012-06-13  
verified: 1  
codes: OSVDB-276;CVE-1999-0278  
tags:   
aliases:   
screenshot_url:   
application_url:   

raw file: 19118.txt  
source: https://www.securityfocus.com/bid/149/info

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.

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.