Lucene search

K
nessusThis script is Copyright (C) 2004-2021 Tenable Network Security, Inc.RISEARCH_OPEN_PROXY.NASL
HistoryAug 02, 2004 - 12:00 a.m.

RiSearch show.pl Open Proxy Relay

2004-08-0200:00:00
This script is Copyright (C) 2004-2021 Tenable Network Security, Inc.
www.tenable.com
26

CVSS2

7.5

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

CVSS3

9.8

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

EPSS

0.159

Percentile

96.0%

The remote host seems to be running RiSearch, a local search engine.

There is a flaw in the CGI ‘show.pl’ which is bundled with this software that could allow an attacker to use the remote host as an open proxy by doing a request like :

http://www.example.com/cgi-bin/search/show.pl?url=http://www.google.com

An attacker could exploit this flaw to use the remote host as a proxy, and therefore to connect anonymously to the internet.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#


include('deprecated_nasl_level.inc');
include('compat.inc');

if(description)
{
 script_id(14180);
 script_version("1.15");
 script_cve_id("CVE-2004-2061");
 script_bugtraq_id(10812);

 script_name(english:"RiSearch show.pl Open Proxy Relay");

 script_set_attribute(attribute:"synopsis", value:
"The remote server may be used as an anonymous proxy." );
 script_set_attribute(attribute:"description", value:
"The remote host seems to be running RiSearch, a local search engine.

There is a flaw in the CGI 'show.pl' which is bundled with this software
that could allow an attacker to use the remote host as an open proxy by 
doing a request like :

http://www.example.com/cgi-bin/search/show.pl?url=http://www.google.com

An attacker could exploit this flaw to use the remote host as a proxy,
and therefore to connect anonymously to the internet." );
 script_set_attribute(attribute:"solution", value:
"Upgrade to the latest version of this software." );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
 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/02");
 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();

 script_summary(english: "Determines the presence of RiSearch's search.pl");
 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", "webmirror.nasl");
 script_require_ports("Services/www", 80);
 script_exclude_keys("Settings/disable_cgi_scanning");
 exit(0);
}

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

port = get_http_port(default:80);

foreach dir ( cgi_dirs() )
{
 r = http_send_recv3(port:port, method: "GET", item:dir + "/search/show.pl?url=http://www.google.com");
 if (isnull(r)) exit(0);
 if ("<title>Google</title>" >< r[2] && "I'm Feeling Lucky" >< r[2]) 
 {
   security_hole(port);
   exit(0);
 }
}

CVSS2

7.5

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

CVSS3

9.8

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

EPSS

0.159

Percentile

96.0%

Related for RISEARCH_OPEN_PROXY.NASL