# # This script was written by Matt Moore # # See the Nessus Scripts License for details # if(description) { script_id(10573); script_version("$Revision$"); name["english"] = "IIS 5.0 Sample App reveals physical path of web root"; name["francais"] = "IIS 5.0 Sample App reveals physical path of web root"; script_name(english:name["english"], francais:name["francais"]); desc["english"] = "A sample application shipped with IIS 5.0 discloses the physical path of the web root. An attacker can use this information to make more focused attacks. Solution: Always remove sample applications from productions servers. In this case, remove the entire /iissamples folder. Risk factor : Low"; script_description(english:desc["english"]); summary["english"] = "IIS 5.0 Sample App reveals physical path of web root"; script_summary(english:summary["english"]); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2000 Matt Moore", francais:"Ce script est Copyright (C) 2000 Matt Moore"); family["english"] = "CGI abuses"; family["francais"] = "Abus de CGI"; script_family(english:family["english"], francais:family["francais"]); script_dependencie("find_service.nes", "no404.nasl", "http_version.nasl"); script_require_ports("Services/www", 80); script_require_keys("www/iis"); exit(0); } # Check starts here port = is_cgi_installed("/iissamples/sdk/asp/interaction/ServerVariables_Jscript.asp"); if(port)security_warning(port);