Lucene search
+L

Microsoft Internet Information Services (IIS) Service Pack - 404

🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2003 SensePost & Copyright (C) 2004 David MaciejakType 
openvas
 openvas
🔗 plugins.openvas.org👁 28 Views

Microsoft Internet Information Services (IIS) Service Pack - 40

Code
# SPDX-FileCopyrightText: 2003 SensePost
# SPDX-FileCopyrightText: 2004 David Maciejak
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

CPE = "cpe:/a:microsoft:internet_information_services";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.11874");
  script_version("2023-10-10T05:05:41+0000");
  script_tag(name:"last_modification", value:"2023-10-10 05:05:41 +0000 (Tue, 10 Oct 2023)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_name("Microsoft Internet Information Services (IIS) Service Pack - 404");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2003 SensePost & Copyright (C) 2004 David Maciejak");
  script_family("Web Servers");
  script_dependencies("gb_microsoft_iis_http_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("IIS/installed");

  script_tag(name:"solution", value:"The Patch level (Service Pack) of the remote IIS server appears to be lower
  than the current IIS service pack level. As each service pack typically
  contains many security patches, the server may be at risk.

  Caveat: This test makes assumptions of the remote patch level based on static
  return values (Content-Length) within the IIS Servers 404 error message.
  As such, the test can not be totally reliable and should be manually confirmed.");

  script_tag(name:"summary", value:"Ensure that the server is running the latest stable Service Pack");

  script_tag(name:"qod_type", value:"remote_banner");
  script_tag(name:"solution_type", value:"VendorFix");

  exit(0);
}

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

if( ! port = get_app_port( cpe:CPE, service:"www" ) )
  exit( 0 );

if( ! get_app_location( cpe:CPE, port:port, nofork:TRUE ) )
  exit( 0 );

sig = http_get_remote_headers( port:port );
if( sig && "IIS" >!< sig ) exit( 0 );

req = http_get( item:"/vttest" + rand(), port:port );
r  = http_keepalive_send_recv( data:req, port:port );
if( ! r || ! ereg( pattern:"^HTTP.* 404 .*", string:r ) )
  exit( 0 );

v4 = egrep( pattern:"^Server:.*Microsoft-IIS/4\.0", string:r );
v5 = egrep( pattern:"^Server:.*Microsoft-IIS/5\.0", string:r );
v51 = egrep( pattern:"^Server:.*Microsoft-IIS/5\.1", string:r );
v6 = egrep( pattern:"^Server:.*Microsoft-IIS/6\.0", string:r );

cltmp = eregmatch( pattern:".*Content-Length: ([0-9]+).*", string:r );
if( isnull( cltmp ) ) exit( 0 );
cl = int( cltmp[1] );

ver = string( "The remote IIS server *seems* to be " );

#if( v4 ) {
#  if( 102 == cl ) ver += string( "Microsoft IIS 4 - Sp0\n" );
#  if( 451 == cl ) ver += string( "Microsoft IIS 4 - SP6\n" );
#  if( 461 == cl ) ver += string( "Microsoft IIS 4 - SP3\n" );
#}

if( v5 ) {
#??
#  if( 111 == cl ) ver += string( "Microsoft IIS 5 - SP4\n" );
  if( 3243 == cl ) ver += string( "Microsoft IIS 5 - SP0 or SP1\n" );
  if( 2352 == cl ) ver += string( "Microsoft IIS 5 - SP2 or SRP1\n" );
  if( 4040 == cl ) ver += string( "Microsoft IIS 5 - SP3 or SP4\n" );
}

if( v51 ) {
  if( 1330 == cl ) ver += string( "Microsoft IIS 5.1 - SP2\n" );
  if( 4040 == cl ) ver += string( "Microsoft IIS 5.1 - SP0\n" );
}

if( v6 ) {
  if( 2166 == cl ) ver += string( "Microsoft IIS 6.0 - SP0\n" );
  if( 1635 == cl ) ver += string( "Microsoft IIS 6.0 - w2k3 build 3790\n" );
}

if( ver !=  "The remote IIS server *seems* to be " ) {
  security_message( port:port, data:ver );
  exit ( 0 );
}

exit( 99 );

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

10 Oct 2023 00:00Current
7.3High risk
Vulners AI Score7.3
28