This web server is running a vulnerable version of Inktomi Search
Certain requests using MS-DOS special file names such as nul can cause
a python error. The error message contains sensitive information such
as the physical path of the webroot. This information may be useful to
an attacker.
# OpenVAS Vulnerability Test
# $Id: inktomi_path_disclosure.nasl 8023 2017-12-07 08:36:26Z teissa $
# Description: Inktomi Search Physical Path Disclosure
#
# Authors:
# Sarju Bhagat <[email protected]>
# Martin O'Neal of Corsaire (http://www.corsaire.com)
#
# Copyright:
# Copyright (C) 2004 Westpoint Limited and Corsaire Limited
#
# 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 = "This web server is running a vulnerable version of Inktomi Search
Certain requests using MS-DOS special file names such as nul can cause
a python error. The error message contains sensitive information such
as the physical path of the webroot. This information may be useful to
an attacker.";
tag_solution = "Upgrade to the latest version. This product is now developed i
by Verity and is called Ultraseek";
# DISCLAIMER
# The information contained within this script is supplied "as-is" with
# no warranties or guarantees of fitness of use or otherwise. Corsaire
# accepts no responsibility for any damage caused by the use or misuse of
# this information.
if(description)
{
script_id(12300);
script_version("$Revision: 8023 $");
script_tag(name:"last_modification", value:"$Date: 2017-12-07 09:36:26 +0100 (Thu, 07 Dec 2017) $");
script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_bugtraq_id(10275, 8050);
script_cve_id("CVE-2004-0050");
name = "Inktomi Search Physical Path Disclosure";
script_name(name);
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_category(ACT_GATHER_INFO);
script_tag(name:"qod_type", value:"remote_banner");
script_copyright("This script is Copyright (C) 2004 Westpoint Limited and Corsaire Limited");
family = "Web application abuses";
script_family(family);
script_dependencies("gb_get_http_banner.nasl");
script_mandatory_keys("Ultraseek/banner");
script_require_ports("Services/www", 8765);
script_tag(name : "solution" , value : tag_solution);
script_tag(name : "summary" , value : tag_summary);
script_xref(name : "URL" , value : "http://www.corsaire.com/advisories/c040113-001.txt ");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
#
# The script code starts here
#
port = get_http_port(default:8765);
if(!get_port_state(port))exit(0);
# Check that the remote web server is UltraSeek, as
# some other servers may crash the host when requested
# for a DOS device.
banner = get_http_banner(port:port);
if ( banner == NULL || "Server: Ultraseek" >!< banner ) exit(0);
req = http_get(item:"/nul", port:port);
res = http_keepalive_send_recv(port:port, data:req);
if ( res == NULL ) exit(0);
if ( "httpsrvr.py:1033" >!< res ||
"500 Internal Server Error" >!< res ) exit(0);
w = egrep(pattern:"directory", string:res);
if(w)
{
webroot = ereg_replace(string:w, pattern:"^.*'(.*)'.*$", replace:"\1");
if (webroot == w) exit(0);
report = "
This web server is running a vulnerable version of Inktomi Search
Certain requests using MS-DOS special file names such as nul can cause
a python error. The error message contains sensitive information such
as the physical path of the webroot. This information may be useful to
an attacker.
The remote web root is : " + w + "
Solution:
Upgrade to the latest version. This product is now devloped by Verity
and is called Ultraseek
See also : http://www.corsaire.com/advisories/c040113-001.txt ";
security_message(port:port, data:report);
}