⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 showcode.nasl

📁 漏洞扫描源码,可以扫描linux,windows,交换机路由器
💻 NASL
字号:
## ShowCode ASP## This plugin was written in C by Immo Goltz <Immo.Goltz@gecits-eu.com># and is released under the GPL## - Description taken from  http://www.l0pht.com/advisories.html## Converted in NASL by Renaud Deraison <deraison@cvs.nessus.org>if(description){ script_id(10007); script_bugtraq_id(167); script_version ("$Revision: 38 $"); script_cve_id("CVE-1999-0736"); name["english"] = "ShowCode possible"; name["francais"] = "ShowCode possible"; name["deutsch"] = "ShowCode moeglich";   script_name(english:name["english"], francais:name["francais"], deutsch:name["deutsch"]);  desc["english"] = "Internet Information Server (IIS) 4.0 ships with a set of sample files tohelp web developers learn about Active Server Pages (ASP). One of thesesample files, 'showcode.asp' (installed in /msadc/Samples/SELECTOR/), isdesigned to view the source code of the sample applications via a webbrowser.The 'showcode.asp' file does inadequate security checking and allows anyonewith a web browser to view the contents of any text file on the web server.This includes files that are outside of the document root of the web server.The 'showcode.asp' file is installed by default at the URL:http://www.YOURSERVER.com/msadc/Samples/SELECTOR/showcode.aspIt takes 1 argument in the URL, which is the file to view.The format of this argument is: source=/path/filenameThis is a fairly dangerous sample file since it can view the contents of any other files on the system. The author of the ASP file added a security check to only allow viewing of the sample files which were in the '/msadc' directory on the system. The problem is the security check does not test for the '..'characters within the URL. The only checking done is if the URL contains thestring '/msadc/'. This allows URLs to be created that view, not only filesoutside of the samples directory, but files anywhere on the entire filesystem that the web server's document root is on.The full description can be found at: http://www.l0pht.com/advisories.htmlSolution : For production servers, sample files should never be installed, sodelete the entire /msadc/samples directory. If you must have the'showcode.asp' capability on a development server, the 'showcode.asp' file should be modified to test for URLs with '..' in them and deny those requests.Risk factor : High"; desc["francais"] = "Le fichier showcode.asp est install

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -