欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

NET IIS暴绝对路径漏洞

程序员文章站 2022-06-23 22:18:27
title:microsoft asp.net may disclose web directory to&nb...
title:microsoft asp.net may disclose web directory to remote users in certain cases
description: if the asp.net application does not filter the error message, the web 
directory information may be disclosed to remote users by using an unavailable file 
which start with "~".
hi, i'm soroush dalili from grayhatz security group(gsg).i found new thing in .net 
framework version:1.1 (.aspx files).
if error mode in .net configuration is on, run an unavailable aspx file that start with 
"~" can cause showing full path in browsers.
for example: http://[url]/~foo.aspx
------------------------------------------------------------------------
note:version 2 have not this bug and it return file does not exist

vendor url: www.microsoft.com
version:1.1
soloution: update to version 2 or enable error filtering
finder: soroush dalili
team: gsg [grayhatz security group]
web: grayhatz.net
country: iran
email: irsdl[a.t]yahoo[d.o.t]com


搜索引擎 inurl:aspx,然后随便点个连接,在url后输入~fly_ocean.aspx,即可暴出绝对路径。

例如:
http://www.fodonline.com/qihuoju/default.aspx~fly_ocean.aspx
用于监视的文件名无效:“d:\aaa\qihuoju\default.aspx~fly_ocean.aspx”。用于监视的文件名必须具有绝对路径,并且不包含通配符。 
版本信息: microsoft .net framework 版本:1.1.4322.2300; asp.net 版本:1.1.4322.2300