Lucene search
K

Microsoft IIS UNC Mapped Virtual Host Vulnerability

🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2001 [email protected]Type 
openvas
 openvas
🔗 plugins.openvas.org👁 32 Views

Microsoft IIS UNC Mapped Virtual Host Vulnerabilit

Related
Code
# OpenVAS Vulnerability Test
# $Id: iis_unc_mapped_virt_host_vuln.nasl 6046 2017-04-28 09:02:54Z teissa $
# Description: Microsoft IIS UNC Mapped Virtual Host Vulnerability
#
# Authors:
# [email protected], http://libpcap.net
#
# Copyright:
# Copyright (C) 2001 [email protected]
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2,
# as published by the Free Software Foundation
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#

tag_summary = "Your IIS webserver allows the retrieval of ASP/HTR source code.

An attacker can use this vulnerability to see how your
pages interact and find holes in them to exploit.";

if(description) {
  script_id(11443);
  script_version("$Revision: 6046 $");
  script_tag(name:"last_modification", value:"$Date: 2017-04-28 11:02:54 +0200 (Fri, 28 Apr 2017) $");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_bugtraq_id(1081);
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_cve_id("CVE-2000-0246");

  name = "Microsoft IIS UNC Mapped Virtual Host Vulnerability";
  script_name(name);


  summary = "Checks IIS for .ASP/.HTR backslash vulnerability.";
  script_copyright("Copyright (C) 2001 [email protected]");
  script_category(ACT_GATHER_INFO);
  script_tag(name:"qod_type", value:"remote_vul");

  family = "Web Servers";
  script_family(family);

  script_require_ports("Services/www", 80);
  script_dependencies("http_version.nasl");
  script_tag(name : "summary" , value : tag_summary);
  exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");

port = get_http_port(default:80);
if ( ! can_host_asp(port:port) ) exit(0);

if(get_port_state(port)) {
  # common ASP files
  f[0] = "/index.asp%5C";
  f[1] = "/default.asp%5C";
  f[2] = "/login.asp%5C";
  
  files = get_kb_list(string("www/", port, "/content/extensions/asp"));
  if(!isnull(files)){
 	files = make_list(files);
	f[3] = files[0] + "%5C";
	}

  for(i = 0; f[i]; i = i + 1) {
    req = http_get(item:f[i], port:port);
    h = http_keepalive_send_recv(port:port, data:req);
    if( h == NULL ) exit(0);
    
    if(ereg(pattern:"^HTTP/[0-9]\.[0-9] 200 .*", string:h) &&
       "Content-Type: application/octet-stream" >< r) {
      security_message(port);
      exit(0);
    }
  }
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

28 Apr 2017 00:00Current
0.1Low risk
Vulners AI Score0.1
EPSS0.83616
32